summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_rule_factory.h
blob: 7389b3963f18ad1ee498fd6400d3cb6999c54c1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <gmock/gmock.h>

#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