diff options
Diffstat (limited to 'src/components/include/test/application_manager/policies/mock_policy_handler_interface.h')
-rw-r--r-- | src/components/include/test/application_manager/policies/mock_policy_handler_interface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/components/include/test/application_manager/policies/mock_policy_handler_interface.h b/src/components/include/test/application_manager/policies/mock_policy_handler_interface.h index e1fb8f702f..bcff478023 100644 --- a/src/components/include/test/application_manager/policies/mock_policy_handler_interface.h +++ b/src/components/include/test/application_manager/policies/mock_policy_handler_interface.h @@ -89,8 +89,6 @@ class MockPolicyHandlerInterface : public policy::PolicyHandlerInterface { MOCK_METHOD2(GetNextUpdateUrl, std::string(const policy::PTUIterationType iteration_type, uint32_t& app_id)); - MOCK_METHOD2(CacheRetryInfo, - void(const uint32_t app_id, const std::string url)); #endif // EXTERNAL_PROPRIETARY_MODE MOCK_CONST_METHOD2(GetPriority, @@ -192,10 +190,13 @@ class MockPolicyHandlerInterface : public policy::PolicyHandlerInterface { MOCK_METHOD1(RemoveDevice, void(const std::string& device_id)); MOCK_METHOD1(AddStatisticsInfo, void(int type)); MOCK_METHOD1(OnSystemError, void(int code)); +#ifndef EXTERNAL_PROPRIETARY_MODE MOCK_METHOD1(ChoosePTUApplication, uint32_t(const policy::PTUIterationType iteration_type)); - MOCK_CONST_METHOD1(GetAppIdForSending, - uint32_t(const policy::PTUIterationType iteration_type)); + MOCK_METHOD2(CacheRetryInfo, + void(const uint32_t app_id, const std::string url)); +#endif + MOCK_CONST_METHOD0(GetAppIdForSending, uint32_t()); MOCK_METHOD1( GetAppName, utils::custom_string::CustomString(const std::string& policy_app_id)); |