summaryrefslogtreecommitdiff
path: root/src/components/include/test/connection_handler/mock_connection_handler.h
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2018-03-07 10:05:23 -0500
committerGitHub <noreply@github.com>2018-03-07 10:05:23 -0500
commitc8793c6520426155b3e20c2678ce66bf078f72ef (patch)
tree3951f52a1a4b39ef8572da8817fb199a8cf2d8d9 /src/components/include/test/connection_handler/mock_connection_handler.h
parent1f574a2061bf5b746c6bf3734c647a4a6ba3dfd1 (diff)
parent95aec12cbd07087af530413e574415056e45e067 (diff)
downloadsdl_core-c8793c6520426155b3e20c2678ce66bf078f72ef.tar.gz
Merge branch 'develop' into hotfix/add_FAQ_to_READMEhotfix/add_FAQ_to_README
Diffstat (limited to 'src/components/include/test/connection_handler/mock_connection_handler.h')
-rw-r--r--src/components/include/test/connection_handler/mock_connection_handler.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components/include/test/connection_handler/mock_connection_handler.h b/src/components/include/test/connection_handler/mock_connection_handler.h
index e17224b097..f1416c999e 100644
--- a/src/components/include/test/connection_handler/mock_connection_handler.h
+++ b/src/components/include/test/connection_handler/mock_connection_handler.h
@@ -84,11 +84,18 @@ class MockConnectionHandler : public connection_handler::ConnectionHandler {
void(uint32_t connection_key, uint8_t session_id));
MOCK_METHOD2(BindProtocolVersionWithSession,
void(uint32_t connection_key, uint8_t protocol_version));
+
+ // DEPRECATED
MOCK_CONST_METHOD4(GetDataOnSessionKey,
int32_t(uint32_t key,
uint32_t* app_id,
std::list<int32_t>* sessions_list,
uint32_t* device_id));
+ MOCK_CONST_METHOD4(GetDataOnSessionKey,
+ int32_t(uint32_t key,
+ uint32_t* app_id,
+ std::list<int32_t>* sessions_list,
+ connection_handler::DeviceHandle* device_id));
MOCK_CONST_METHOD0(get_settings,
const connection_handler::ConnectionHandlerSettings&());
MOCK_METHOD0(get_session_observer,
@@ -96,6 +103,10 @@ class MockConnectionHandler : public connection_handler::ConnectionHandler {
MOCK_METHOD0(get_device_discovery_starter, DevicesDiscoveryStarter&());
MOCK_CONST_METHOD1(GetConnectedDevicesMAC,
void(std::vector<std::string>& macs));
+ MOCK_METHOD3(NotifyServiceStartedResult,
+ void(uint32_t session_key,
+ bool result,
+ std::vector<std::string>& rejected_params));
};
} // namespace connection_handler_test