summaryrefslogtreecommitdiff
path: root/extractor/mocks/mock_rule_factory.h
blob: 11cb9ab5bc84c7cfc5ecd5b973998e65e60178a8 (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