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

#include "../scorer.h"
#include "../features/feature.h"

namespace extractor {

class MockScorer : public Scorer {
 public:
  MOCK_CONST_METHOD1(Score, vector<double>(
      const features::FeatureContext& context));
  MOCK_CONST_METHOD0(GetFeatureNames, vector<string>());
};

} // namespace extractor