10 #include <gmock/gmock.h>
13 using namespace HCE::reduce::core;
17 MOCK_METHOD0(hasNext,
bool());
18 MOCK_METHOD0(reset,
void());
19 MOCK_METHOD2(getNext,
void(std::string &
key, std::string &value));;
24 MOCK_METHOD2(addKeyValue,
void (
const std::string &
key,
const std::string &value));
33 MOCK_METHOD1(fillReduceResult,
void (Poco::SharedPtr<ReduceResultIf> reduceResult));
39 MOCK_CONST_METHOD0(getDataStorage, Poco::SharedPtr<IterableIf>());
40 MOCK_CONST_METHOD0(getReduceResult, Poco::SharedPtr<ReduceResultIf>());
41 MOCK_CONST_METHOD0(getReduceTask, Poco::SharedPtr<ReduceTaskIf>());
47 MOCK_METHOD1(executeJob,
void(
const Poco::SharedPtr<ReduceJobIf> &reduceJob));