summaryrefslogtreecommitdiff
path: root/extractor/mocks
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-02-19 21:23:48 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-02-19 21:23:48 +0000
commit0187447a643c3ea262b13b3052cb1531990eafe6 (patch)
tree9aae8bdec0230379316007ef1a6ab6b252786129 /extractor/mocks
parent9a026ba2db8fa7723374109e6a4a8dcaff8733cd (diff)
Timing every part of the extractor.
Diffstat (limited to 'extractor/mocks')
-rw-r--r--extractor/mocks/mock_fast_intersector.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/extractor/mocks/mock_fast_intersector.h b/extractor/mocks/mock_fast_intersector.h
new file mode 100644
index 00000000..201386f2
--- /dev/null
+++ b/extractor/mocks/mock_fast_intersector.h
@@ -0,0 +1,11 @@
+#include <gmock/gmock.h>
+
+#include "../fast_intersector.h"
+#include "../phrase.h"
+#include "../phrase_location.h"
+
+class MockFastIntersector : public FastIntersector {
+ public:
+ MOCK_METHOD3(Intersect, PhraseLocation(PhraseLocation&, PhraseLocation&,
+ const Phrase&));
+};