summaryrefslogtreecommitdiff
path: root/src/components/include/test/policy/policy_external
diff options
context:
space:
mode:
authorHerasym Oleh <oolleehh@gmail.com>2017-04-21 15:37:40 +0300
committerokozlovlux <okozlov@luxoft.com>2017-05-17 19:27:11 +0300
commitc424760b8a089f507ee93f749f790ee9e594de88 (patch)
tree0ce7de8535da929b5db65e78a3ea1f1158260d44 /src/components/include/test/policy/policy_external
parent9cb25e928fc2591554e997e1ed8d5f4eb553dbc7 (diff)
downloadsdl_core-c424760b8a089f507ee93f749f790ee9e594de88.tar.gz
Fix policy unexpected PTU
Diffstat (limited to 'src/components/include/test/policy/policy_external')
-rw-r--r--src/components/include/test/policy/policy_external/policy/mock_policy_manager.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/include/test/policy/policy_external/policy/mock_policy_manager.h b/src/components/include/test/policy/policy_external/policy/mock_policy_manager.h
index 700d5c42fa..0332b94a89 100644
--- a/src/components/include/test/policy/policy_external/policy/mock_policy_manager.h
+++ b/src/components/include/test/policy/policy_external/policy/mock_policy_manager.h
@@ -159,7 +159,7 @@ class MockPolicyManager : public PolicyManager {
MOCK_CONST_METHOD1(HeartBeatTimeout, uint32_t(const std::string& app_id));
MOCK_METHOD1(SaveUpdateStatusRequired, void(bool is_update_needed));
MOCK_METHOD0(OnAppsSearchStarted, void());
- MOCK_METHOD0(OnAppsSearchCompleted, void());
+ MOCK_METHOD1(OnAppsSearchCompleted, void(const bool trigger_ptu));
MOCK_METHOD1(OnAppRegisteredOnMobile,
void(const std::string& application_id));
MOCK_CONST_METHOD0(GetLockScreenIconUrl, std::string());
@@ -194,6 +194,8 @@ class MockPolicyManager : public PolicyManager {
const EndpointUrls& urls));
MOCK_METHOD1(SetExternalConsentStatus, bool(const ExternalConsentStatus&));
MOCK_METHOD0(GetExternalConsentStatus, ExternalConsentStatus());
+ MOCK_CONST_METHOD1(IsNeedToUpdateExternalConsentStatus,
+ bool(const ExternalConsentStatus&));
};
} // namespace policy_manager_test
} // namespace components