1 #include "gmock/gmock.h"
4 #include "fcf/common/iComm.hpp"
6 class MockIComm :
public fcf::common::IComm {
9 MOCK_METHOD2(Connect,
void(std::string device, std::string address));
10 MOCK_METHOD1(Read,
void(fcf::common::VectorVariant& params));
11 MOCK_METHOD1(Write,
void(fcf::common::VectorVariant& params));
14 fcf::common::VectorVariant& params,
15 fcf::common::Variant& result));
19 MOCK_METHOD3(RegisterCB,
void(fcf::common::Dispatcher<fcf::common::VectorVariant&>& dispatcher,
20 fcf::common::Dispatcher<>& failure,
21 fcf::common::Dispatcher<>& normal));
MOCK_METHOD4(Rpc, void(std::string obj, std::string proc, fcf::common::VectorVariant ¶ms, fcf::common::Variant &result))
MOCK_METHOD3(RegisterCB, void(fcf::common::Dispatcher< fcf::common::VectorVariant & > &dispatcher, fcf::common::Dispatcher<> &failure, fcf::common::Dispatcher<> &normal))
MOCK_METHOD1(Read, void(fcf::common::VectorVariant ¶ms))
MOCK_METHOD0(Disconnect, void())
Definition: mockIComm.hpp:6
MOCK_METHOD2(Connect, void(std::string device, std::string address))