summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_binary_search_merger.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_binary_search_merger.h')
-rw-r--r--extractor/mocks/mock_binary_search_merger.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/extractor/mocks/mock_binary_search_merger.h b/extractor/mocks/mock_binary_search_merger.h
new file mode 100644
index 00000000..e1375ee3
--- /dev/null
+++ b/extractor/mocks/mock_binary_search_merger.h
@@ -0,0 +1,15 @@
+#include <gmock/gmock.h>
+
+#include <vector>
+
+#include "../binary_search_merger.h"
+#include "../phrase.h"
+
+using namespace std;
+
+class MockBinarySearchMerger: public BinarySearchMerger {
+ public:
+ MOCK_CONST_METHOD9(Merge, void(vector<int>&, const Phrase&, const Phrase&,
+ vector<int>::iterator, vector<int>::iterator, vector<int>::iterator,
+ vector<int>::iterator, int, int));
+};