summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/mocks/mock_feature.h')
-rw-r--r--extractor/mocks/mock_feature.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/extractor/mocks/mock_feature.h b/extractor/mocks/mock_feature.h
new file mode 100644
index 00000000..d2137629
--- /dev/null
+++ b/extractor/mocks/mock_feature.h
@@ -0,0 +1,9 @@
+#include <gmock/gmock.h>
+
+#include "../features/feature.h"
+
+class MockFeature : public Feature {
+ public:
+ MOCK_CONST_METHOD1(Score, double(const FeatureContext& context));
+ MOCK_CONST_METHOD0(GetName, string());
+};