diff options
author | JackLivio <jack@livio.io> | 2018-02-12 16:16:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 16:16:18 -0500 |
commit | 3e0852ef27d0fff950ea4a1dae136c972c40c759 (patch) | |
tree | 4d1aed127f42444c740a1c414c01177e70340b81 /src/components/include/test/policy/policy_regular/policy | |
parent | 11ce1efd850cadbe63a9ac8017b49b372afc5c3f (diff) | |
parent | 37614e497366fb2a91f788da72fc9046527fcff2 (diff) | |
download | sdl_core-3e0852ef27d0fff950ea4a1dae136c972c40c759.tar.gz |
Merge branch 'release/4.5.0' into fix/OnDriverDistruction
Diffstat (limited to 'src/components/include/test/policy/policy_regular/policy')
-rw-r--r-- | src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h | 3 | ||||
-rw-r--r-- | src/components/include/test/policy/policy_regular/policy/mock_policy_manager.h | 4 |
2 files changed, 7 insertions, 0 deletions
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 39876cf713..ed3a5088c1 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 @@ -211,6 +211,9 @@ class MockCacheManagerInterface : public CacheManagerInterface { MOCK_CONST_METHOD2(AppHasHMIType, bool(const std::string& application_id, policy_table::AppHMIType hmi_type)); + MOCK_METHOD2(OnDeviceSwitching, + void(const std::string& device_id_from, + const std::string& device_id_to)); }; } // namespace policy_test 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 cfe41ee64c..82012b83c7 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 @@ -222,6 +222,10 @@ class MockPolicyManager : public PolicyManager { CheckPendingPermissionsChanges, void(const std::string& policy_app_id, const std::vector<FunctionalGroupPermission>& current_permissions)); + + MOCK_METHOD2(OnDeviceSwitching, + void(const std::string& device_id_from, + const std::string& device_id_to)); }; } // namespace policy_manager_test |