summaryrefslogtreecommitdiff
path: root/src/components/protocol_handler/test/include/protocol_observer_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/protocol_handler/test/include/protocol_observer_mock.h')
-rw-r--r--src/components/protocol_handler/test/include/protocol_observer_mock.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/components/protocol_handler/test/include/protocol_observer_mock.h b/src/components/protocol_handler/test/include/protocol_observer_mock.h
index 1350319b2..c415e66e4 100644
--- a/src/components/protocol_handler/test/include/protocol_observer_mock.h
+++ b/src/components/protocol_handler/test/include/protocol_observer_mock.h
@@ -46,19 +46,10 @@ namespace protocol_handler_test {
*/
class ProtocolObserverMock : public ::protocol_handler::ProtocolObserver {
public:
- MOCK_METHOD1(OnDeviceListUpdated,
- void(const connection_handler::DeviceMap &device_list));
- MOCK_METHOD0(OnFindNewApplicationsRequest,void());
- MOCK_METHOD1(RemoveDevice,
- void(const connection_handler::DeviceHandle &device_handle));
- MOCK_METHOD3(OnServiceStartedCallback,
- bool(const connection_handler::DeviceHandle &device_handle,
- const int32_t &session_key,
- const protocol_handler::ServiceType &type));
- MOCK_METHOD3(OnServiceEndedCallback,
- void(const int32_t &session_key,
- const protocol_handler::ServiceType &type,
- const connection_handler::CloseSessionReason& close_reason));
+ MOCK_METHOD1(OnMessageReceived,
+ void(const ::protocol_handler::RawMessagePtr));
+ MOCK_METHOD1(OnMobileMessageSent,
+ void(const ::protocol_handler::RawMessagePtr));
};
} // namespace protocol_handler_test
} // namespace components