diff options
author | Dmitriy Boltovskiy <dboltovskyi@luxoft.com> | 2020-12-16 10:48:33 -0500 |
---|---|---|
committer | Dmitriy Boltovskiy <dboltovskyi@luxoft.com> | 2020-12-16 10:48:33 -0500 |
commit | 2097cabea6062fd2071b7d0ecd6c5779364be806 (patch) | |
tree | 39181d259053c941a1a3ca03a01ca2a886133ad8 /src/components/include/test/application_manager/mock_application_manager.h | |
parent | 6ef9cfb61065b10785ad4fc37f0b0b0463f86fb7 (diff) | |
parent | 04ced64614e550490e1eae4b866d5d70092a5450 (diff) | |
download | sdl_core-fix/sdl_does_not_unsubscribe_from_subbuttons_after_receiving_response.tar.gz |
Merge remote-tracking branch 'smart/develop' into fix/sdl_does_not_unsubscribe_from_subbuttons_after_receiving_responsefix/sdl_does_not_unsubscribe_from_subbuttons_after_receiving_response
Diffstat (limited to 'src/components/include/test/application_manager/mock_application_manager.h')
-rw-r--r-- | src/components/include/test/application_manager/mock_application_manager.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/components/include/test/application_manager/mock_application_manager.h b/src/components/include/test/application_manager/mock_application_manager.h index a38438b0ab..7beff3f6d6 100644 --- a/src/components/include/test/application_manager/mock_application_manager.h +++ b/src/components/include/test/application_manager/mock_application_manager.h @@ -354,16 +354,17 @@ class MockApplicationManager : public application_manager::ApplicationManager { MOCK_CONST_METHOD1(IsAppSubscribedForWayPoints, bool(uint32_t)); MOCK_CONST_METHOD1(IsAppSubscribedForWayPoints, bool(application_manager::Application& app)); - MOCK_METHOD1(SubscribeAppForWayPoints, void(uint32_t)); - MOCK_METHOD1(SubscribeAppForWayPoints, - void(application_manager::ApplicationSharedPtr)); - MOCK_METHOD1(UnsubscribeAppFromWayPoints, void(uint32_t)); - MOCK_METHOD1(UnsubscribeAppFromWayPoints, - void(application_manager::ApplicationSharedPtr)); + MOCK_METHOD2(SubscribeAppForWayPoints, void(uint32_t, bool)); + MOCK_METHOD2(SubscribeAppForWayPoints, + void(application_manager::ApplicationSharedPtr, bool)); + MOCK_METHOD2(UnsubscribeAppFromWayPoints, void(uint32_t, bool)); + MOCK_METHOD2(UnsubscribeAppFromWayPoints, + void(application_manager::ApplicationSharedPtr, bool)); + MOCK_CONST_METHOD0(IsSubscribedToHMIWayPoints, bool()); MOCK_CONST_METHOD0(IsAnyAppSubscribedForWayPoints, bool()); MOCK_CONST_METHOD0(GetAppsSubscribedForWayPoints, const std::set<uint32_t>()); - MOCK_METHOD1(SaveWayPointsMessage, - void(std::shared_ptr<smart_objects::SmartObject>)); + MOCK_METHOD2(SaveWayPointsMessage, + void(std::shared_ptr<smart_objects::SmartObject>, uint32_t)); MOCK_CONST_METHOD1( WaitingApplicationByID, application_manager::ApplicationConstSharedPtr(const uint32_t)); |