summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_precomputation.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_precomputation.h')
-rw-r--r--extractor/mocks/mock_precomputation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/extractor/mocks/mock_precomputation.h b/extractor/mocks/mock_precomputation.h
index 8753343e..5f7aa999 100644
--- a/extractor/mocks/mock_precomputation.h
+++ b/extractor/mocks/mock_precomputation.h
@@ -6,7 +6,8 @@ namespace extractor {
class MockPrecomputation : public Precomputation {
public:
- MOCK_CONST_METHOD0(GetCollocations, const Index&());
+ MOCK_CONST_METHOD1(Contains, bool(const vector<int>& pattern));
+ MOCK_CONST_METHOD1(GetCollocations, vector<int>(const vector<int>& pattern));
};
} // namespace extractor