diff options
author | Andrey Oleynik <aoleynik@luxoft.com> | 2016-11-11 15:59:15 +0200 |
---|---|---|
committer | okozlovlux <okozlov@luxoft.com> | 2017-05-17 19:27:10 +0300 |
commit | 8aadc5d6d51b49c381fb89fd4b1fbfebec732cc3 (patch) | |
tree | fb1b6598d32075f9fe040c09d586465fa6b8e6a9 /src/components/include/test/policy/policy_external | |
parent | f175409c5e370b6c5c8b67ec72214990a9268673 (diff) | |
download | sdl_core-8aadc5d6d51b49c381fb89fd4b1fbfebec732cc3.tar.gz |
Adds draft business logic for 'CCS ON' case and unit test
Diffstat (limited to 'src/components/include/test/policy/policy_external')
-rw-r--r-- | src/components/include/test/policy/policy_external/policy/mock_policy_listener.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/include/test/policy/policy_external/policy/mock_policy_listener.h b/src/components/include/test/policy/policy_external/policy/mock_policy_listener.h index 4bd9dc90ae..bc7be64aaa 100644 --- a/src/components/include/test/policy/policy_external/policy/mock_policy_listener.h +++ b/src/components/include/test/policy/policy_external/policy/mock_policy_listener.h @@ -83,8 +83,14 @@ class MockPolicyListener : public ::policy::PolicyListener { MOCK_METHOD1(OnCertificateUpdated, void(const std::string&)); MOCK_CONST_METHOD2(SendOnAppPermissionsChanged, void(const policy::AppPermissions&, const std::string&)); - MOCK_CONST_METHOD1(GetRegisteredLinks, - void(std::map<std::string, std::string>&)); + MOCK_METHOD1(GetDevicesIds, + std::vector<std::string>(const std::string& policy_app_id)); + MOCK_METHOD3(OnUpdateHMILevel, + void(const std::string& device_id, + const std::string& policy_app_id, + const std::string& hmi_level)); + MOCK_CONST_METHOD0(GetRegisteredApps, policy::KnownConsentsIds()); + MOCK_CONST_METHOD0(GetRegisteredLinks, policy::ApplicationsLinks()); }; } // namespace policy_test |