diff options
author | AKalinich-Luxoft <AKalinich@luxoft.com> | 2017-06-09 09:33:10 +0300 |
---|---|---|
committer | AKalinich-Luxoft <AKalinich@luxoft.com> | 2017-12-12 14:09:24 +0200 |
commit | 6153f79de2c362dd51c3e945294b74cd9f965ac5 (patch) | |
tree | b3095b8abd593ce7055bfd25ac672e87f993ad9e /src/components/application_manager/test/include/application_manager/mock_resumption_data.h | |
parent | 9e95f67178c575ca5a537f9ef3a69653219b073d (diff) | |
download | sdl_core-6153f79de2c362dd51c3e945294b74cd9f965ac5.tar.gz |
Renamed OnSuspend->IncrementIgnOffCount and OnAwake->DecrementIgnOffCount
This functions of ResumptionData class was renamed according to their exact logic.
Also renamed in mock class and in unit tests.
Diffstat (limited to 'src/components/application_manager/test/include/application_manager/mock_resumption_data.h')
-rw-r--r-- | src/components/application_manager/test/include/application_manager/mock_resumption_data.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/test/include/application_manager/mock_resumption_data.h b/src/components/application_manager/test/include/application_manager/mock_resumption_data.h index 7b16a3bf00..0566c8cda6 100644 --- a/src/components/application_manager/test/include/application_manager/mock_resumption_data.h +++ b/src/components/application_manager/test/include/application_manager/mock_resumption_data.h @@ -59,12 +59,12 @@ class MockResumptionData : public ::resumption::ResumptionData { MOCK_CONST_METHOD2(GetHMIApplicationID, uint32_t(const std::string& policy_app_id, const std::string& device_id)); - MOCK_METHOD0(OnSuspend, void()); + MOCK_METHOD0(IncrementIgnOffCount, void()); MOCK_CONST_METHOD3(GetHashId, bool(const std::string& policy_app_id, const std::string& device_id, std::string& hash_id)); - MOCK_METHOD0(OnAwake, void()); + MOCK_METHOD0(DecrementIgnOffCount, void()); MOCK_CONST_METHOD3(GetSavedApplication, bool(const std::string& policy_app_id, const std::string& device_id, |