summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_target_phrase_extractor.h
blob: 6dc6bba61870cd155db022513800c7a6c0cb03e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <gmock/gmock.h>

#include "../target_phrase_extractor.h"

typedef pair<Phrase, PhraseAlignment> PhraseExtract;

class MockTargetPhraseExtractor : public TargetPhraseExtractor {
 public:
  MOCK_CONST_METHOD6(ExtractPhrases, vector<PhraseExtract>(
      const vector<pair<int, int> > &, const vector<int>&, int, int,
      const unordered_map<int, int>&, int));
};