summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_rule_factory.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_rule_factory.h
parent245e705ac7b6fca80a7aa4898f5467053ec2c585 (diff)
Namespace for extractor.
Diffstat (limited to 'extractor/mocks/mock_rule_factory.h')
-rw-r--r--extractor/mocks/mock_rule_factory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extractor/mocks/mock_rule_factory.h b/extractor/mocks/mock_rule_factory.h
index 2a96be93..11cb9ab5 100644
--- a/extractor/mocks/mock_rule_factory.h
+++ b/extractor/mocks/mock_rule_factory.h
@@ -3,7 +3,11 @@
#include "../grammar.h"
#include "../rule_factory.h"
+namespace extractor {
+
class MockHieroCachingRuleFactory : public HieroCachingRuleFactory {
public:
MOCK_METHOD1(GetGrammar, Grammar(const vector<int>& word_ids));
};
+
+} // namespace extractor