summaryrefslogtreecommitdiff
path: root/src/components/include/test/policy/policy_external/policy/mock_cache_manager.h
diff options
context:
space:
mode:
authorAndrey Oleynik (GitHub) <aoleynik@luxoft.com>2017-11-30 09:43:44 +0200
committerAndriy Byzhynar <AByzhynar@luxoft.com>2018-01-18 12:03:51 +0200
commit2c207377259ad01c7f231533ba7189008d03a898 (patch)
treef91c3b38a57e97254e18147cd6db9ae9552a7a8c /src/components/include/test/policy/policy_external/policy/mock_cache_manager.h
parentee1d2d7677a7d94da43cc8b1e047bdd816e5fd83 (diff)
downloadsdl_core-2c207377259ad01c7f231533ba7189008d03a898.tar.gz
Updates mocks and unit tests after prior commit
Fixes mock classes interfaces, unit tests and build after changes related to making iAP2 switching triggered externally and using of Bluetooth MAC/USB serial instead of UUID for internal device management.
Diffstat (limited to 'src/components/include/test/policy/policy_external/policy/mock_cache_manager.h')
-rw-r--r--src/components/include/test/policy/policy_external/policy/mock_cache_manager.h2
1 files changed, 2 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 e90fa63075..2f3c785865 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
@@ -247,6 +247,8 @@ class MockCacheManagerInterface : public ::policy::CacheManagerInterface {
GroupsByExternalConsentStatus(const ExternalConsentStatus&));
MOCK_METHOD0(GetKnownLinksFromPT, std::map<std::string, std::string>());
MOCK_METHOD1(SetExternalConsentForApp, void(const PermissionConsent&));
+ MOCK_METHOD2(OnDeviceSwitching, void(const std::string& device_id_from,
+ const std::string& device_id_to));
};
} // namespace policy_test