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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/extractor/mocks/mock_scorer.h b/extractor/mocks/mock_scorer.h
index 48115ef4..4d593ddf 100644
--- a/extractor/mocks/mock_scorer.h
+++ b/extractor/mocks/mock_scorer.h
@@ -3,8 +3,13 @@
#include "../scorer.h"
#include "../features/feature.h"
+namespace extractor {
+
class MockScorer : public Scorer {
public:
- MOCK_CONST_METHOD1(Score, vector<double>(const FeatureContext& context));
+ MOCK_CONST_METHOD1(Score, vector<double>(
+ const features::FeatureContext& context));
MOCK_CONST_METHOD0(GetFeatureNames, vector<string>());
};
+
+} // namespace extractor