summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_scorer.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_scorer.h')
-rw-r--r--extractor/mocks/mock_scorer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/extractor/mocks/mock_scorer.h b/extractor/mocks/mock_scorer.h
new file mode 100644
index 00000000..48115ef4
--- /dev/null
+++ b/extractor/mocks/mock_scorer.h
@@ -0,0 +1,10 @@
+#include <gmock/gmock.h>
+
+#include "../scorer.h"
+#include "../features/feature.h"
+
+class MockScorer : public Scorer {
+ public:
+ MOCK_CONST_METHOD1(Score, vector<double>(const FeatureContext& context));
+ MOCK_CONST_METHOD0(GetFeatureNames, vector<string>());
+};