hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TaskReducersManagerMock Class Reference

#include <HandlerMocks.hpp>

Inheritance diagram for TaskReducersManagerMock:
Collaboration diagram for TaskReducersManagerMock:

Public Member Functions

 MOCK_METHOD0 (getType, types::MessageType())
 MOCK_METHOD1 (isReducerExist, bool(unsigned long long reduceTaskId))
 MOCK_METHOD1 (createReducer, void(unsigned long long reduceTaskId))
 MOCK_METHOD2 (addDataInReducer, void(unsigned long long reduceTaskId, const std::string &json))
 MOCK_METHOD1 (runReduceTaskForTaskId, std::string(unsigned long long reduceTaskId))
 MOCK_METHOD1 (deleteReducerBy, void(unsigned long long reduceTaskId))
- Public Member Functions inherited from HCE::reduce::additions::TaskReducersManagerIf
virtual ~TaskReducersManagerIf ()
virtual types::MessageType getType ()=0
virtual bool isReducerExist (unsigned long long reduceTaskId)=0
virtual void createReducer (unsigned long long reduceTaskId)=0
virtual void addDataInReducer (unsigned long long reduceTaskId, const std::string &json)=0
virtual std::string runReduceTaskForTaskId (unsigned long long reduceTaskId)=0
virtual void deleteReducerBy (unsigned long long reduceTaskId)=0

Detailed Description

Definition at line 75 of file HandlerMocks.hpp.

Member Function Documentation

TaskReducersManagerMock::MOCK_METHOD0 ( getType  ,
types::  MessageType() 
)
TaskReducersManagerMock::MOCK_METHOD1 ( isReducerExist  ,
bool(unsigned long long reduceTaskId)   
)
TaskReducersManagerMock::MOCK_METHOD1 ( createReducer  ,
void(unsigned long long reduceTaskId)   
)
TaskReducersManagerMock::MOCK_METHOD1 ( runReduceTaskForTaskId  ,
std::  stringunsigned long long reduceTaskId 
)
TaskReducersManagerMock::MOCK_METHOD1 ( deleteReducerBy  ,
void(unsigned long long reduceTaskId)   
)
TaskReducersManagerMock::MOCK_METHOD2 ( addDataInReducer  ,
void(unsigned long long reduceTaskId, const std::string &json)   
)

The documentation for this class was generated from the following file: