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

#include "phrase_location.h"
#include "suffix_array_sampler.h"

namespace extractor {

class MockSuffixArraySampler : public SuffixArrayRangeSampler {
 public:
  MOCK_CONST_METHOD2(Sample, PhraseLocation(
      const PhraseLocation& location,
      const unordered_set<int>& blacklisted_sentence_ids));
};

} // namespace extractor