diff options
Diffstat (limited to 'src/components/application_manager/test/include/application_manager/mock_message_helper.h')
-rw-r--r-- | src/components/application_manager/test/include/application_manager/mock_message_helper.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/src/components/application_manager/test/include/application_manager/mock_message_helper.h b/src/components/application_manager/test/include/application_manager/mock_message_helper.h index e8a969718d..8641a3781e 100644 --- a/src/components/application_manager/test/include/application_manager/mock_message_helper.h +++ b/src/components/application_manager/test/include/application_manager/mock_message_helper.h @@ -46,6 +46,12 @@ namespace application_manager { class MockMessageHelper { public: + MOCK_METHOD2(CreateNotification, + smart_objects::SmartObjectSPtr(mobile_apis::FunctionID::eType, + uint32_t)); + MOCK_METHOD1(CreateHMINotification, + smart_objects::SmartObjectSPtr(hmi_apis::FunctionID::eType)); + MOCK_METHOD1(GetHashUpdateNotification, smart_objects::SmartObjectSPtr(const uint32_t app_id)); MOCK_METHOD2(SendHashUpdateNotification, @@ -119,6 +125,9 @@ class MockMessageHelper { ApplicationManager& application_manager, hmi_apis::Common_HMILevel::eType level, bool send_policy_priority)); + MOCK_METHOD2(CreateMessageForHMI, + smart_objects::SmartObjectSPtr(hmi_apis::messageType::eType, + const uint32_t)); MOCK_METHOD2(SendHMIStatusNotification, void(const Application& application_impl, ApplicationManager& application_manager)); @@ -174,8 +183,6 @@ class MockMessageHelper { MOCK_METHOD1(CreateAddVRCommandRequestFromChoiceToHMI, smart_objects::SmartObjectList(ApplicationConstSharedPtr app)); MOCK_METHOD1(SendGlobalPropertiesToHMI, void(ApplicationConstSharedPtr app)); - MOCK_METHOD1(GetIVISubscriptionRequests, - smart_objects::SmartObjectList(ApplicationSharedPtr app)); MOCK_METHOD3(VerifyTtsFiles, mobile_apis::Result::eType(smart_objects::SmartObject& message, ApplicationConstSharedPtr app, @@ -229,6 +236,12 @@ class MockMessageHelper { MOCK_METHOD2(SendUIChangeRegistrationRequestToHMI, void(ApplicationConstSharedPtr app, ApplicationManager& app_mngr)); + MOCK_METHOD5(CreateDeviceInfo, + bool(connection_handler::DeviceHandle device_handle, + const protocol_handler::SessionObserver& session_observer, + const policy::PolicyHandlerInterface& policy_handler, + ApplicationManager& app_mngr, + smart_objects::SmartObject* output)); MOCK_METHOD5(CreateHMIApplicationStruct, bool(ApplicationConstSharedPtr app, const protocol_handler::SessionObserver& session_observer, @@ -292,10 +305,6 @@ class MockMessageHelper { void(mobile_apis::ButtonName::eType button, ApplicationSharedPtr application, ApplicationManager& app_mngr)); - MOCK_METHOD3(SendUnsubscribeIVIRequest, - void(int32_t ivi_id, - ApplicationSharedPtr application, - ApplicationManager& app_mngr)); static MockMessageHelper* message_helper_mock(); }; |