summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_scorer.h
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
committerPaul Baltescu <pauldb89@gmail.com>2013-03-06 15:25:54 +0000
commitab5367aa2c42126a04034cd7d3cec125bca399ca (patch)
tree9698d9d23ed7618554c61624f8899eb8ba9b3b09 /extractor/mocks/mock_scorer.h
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
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