diff options
author | ShobhitAd <adlakhashobhit@gmail.com> | 2018-11-16 14:39:14 -0500 |
---|---|---|
committer | ShobhitAd <adlakhashobhit@gmail.com> | 2018-11-16 14:39:14 -0500 |
commit | 293eff01d166b8b7e214bf9e0f1cd36d930b764e (patch) | |
tree | a44dd2a071a8397440cd6240b177d89339c7ed94 /src | |
parent | 6585148627e727d83c0d6b551916835a5ee4ff80 (diff) | |
download | sdl_core-293eff01d166b8b7e214bf9e0f1cd36d930b764e.tar.gz |
Added InitCloudApp to mock policy files
Diffstat (limited to 'src')
4 files changed, 8 insertions, 0 deletions
diff --git a/src/components/include/test/policy/policy_external/policy/mock_cache_manager.h b/src/components/include/test/policy/policy_external/policy/mock_cache_manager.h index db3f37fb91..d426107200 100644 --- a/src/components/include/test/policy/policy_external/policy/mock_cache_manager.h +++ b/src/components/include/test/policy/policy_external/policy/mock_cache_manager.h @@ -86,6 +86,8 @@ class MockCacheManagerInterface : public ::policy::CacheManagerInterface { std::string& auth_token, std::string& cloud_transport_type, std::string& hybrid_app_preference)); + MOCK_METHOD1(InitCloudApp, + void(const std::string& policy_app_id)); MOCK_METHOD2(SetCloudAppEnabled, void(const std::string& policy_app_id, const bool enabled)); MOCK_METHOD2(SetAppAuthToken, 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 1eabb78019..dfcea6c65c 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 @@ -194,6 +194,8 @@ class MockPolicyManager : public PolicyManager { std::string& auth_token, std::string& cloud_transport_type, std::string& hybrid_app_preference)); + MOCK_METHOD1(InitCloudApp, + void(const std::string& policy_app_id)); MOCK_METHOD2(SetCloudAppEnabled, void(const std::string& policy_app_id, const bool enabled)); MOCK_METHOD2(SetAppAuthToken, diff --git a/src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h b/src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h index 3d8dc4116a..703c1c9c8b 100644 --- a/src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h +++ b/src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h @@ -73,6 +73,8 @@ class MockCacheManagerInterface : public CacheManagerInterface { std::string& auth_token, std::string& cloud_transport_type, std::string& hybrid_app_preference)); + MOCK_METHOD1(InitCloudApp, + void(const std::string& policy_app_id)); MOCK_METHOD2(SetCloudAppEnabled, void(const std::string& policy_app_id, const bool enabled)); MOCK_METHOD2(SetAppAuthToken, diff --git a/src/components/include/test/policy/policy_regular/policy/mock_policy_manager.h b/src/components/include/test/policy/policy_regular/policy/mock_policy_manager.h index a28ea32108..f63cc21c83 100644 --- a/src/components/include/test/policy/policy_regular/policy/mock_policy_manager.h +++ b/src/components/include/test/policy/policy_regular/policy/mock_policy_manager.h @@ -191,6 +191,8 @@ class MockPolicyManager : public PolicyManager { std::string& auth_token, std::string& cloud_transport_type, std::string& hybrid_app_preference)); + MOCK_METHOD1(InitCloudApp, + void(const std::string& policy_app_id)); MOCK_METHOD2(SetCloudAppEnabled, void(const std::string& policy_app_id, const bool enabled)); MOCK_METHOD2(SetAppAuthToken, |