summaryrefslogtreecommitdiff
path: root/src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h
diff options
context:
space:
mode:
authorconlain-k <conlain.k@gmail.com>2018-07-24 15:31:47 -0400
committerGitHub <noreply@github.com>2018-07-24 15:31:47 -0400
commit90db9ca480eabeaf85ec77626b1bf10fa491270d (patch)
tree1061840e02be20e216cca72685113ceffd592981 /src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h
parente1d597dafe130e73d68d7ccbd84a6b63db2a329f (diff)
parenta773acc84a6836129f1d9bc4b8b723b9e7301e0c (diff)
downloadsdl_core-90db9ca480eabeaf85ec77626b1bf10fa491270d.tar.gz
Merge branch 'develop' into feature/boost_filesystem_implementation
Diffstat (limited to 'src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h')
-rw-r--r--src/components/include/test/policy/policy_regular/policy/mock_cache_manager.h5
1 files changed, 2 insertions, 3 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 cf20dcb666..440000dbff 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
@@ -84,7 +84,7 @@ class MockCacheManagerInterface : public CacheManagerInterface {
MOCK_METHOD2(Init,
bool(const std::string& file_name,
const PolicySettings* settings));
- MOCK_METHOD0(GenerateSnapshot, utils::SharedPtr<policy_table::Table>());
+ MOCK_METHOD0(GenerateSnapshot, std::shared_ptr<policy_table::Table>());
MOCK_METHOD1(ApplyUpdate, bool(const policy_table::Table& update_pt));
MOCK_METHOD1(Save, bool(const policy_table::Table& table));
MOCK_CONST_METHOD0(UpdateRequired, bool());
@@ -202,11 +202,10 @@ class MockCacheManagerInterface : public CacheManagerInterface {
bool(const std::string& device_id,
const std::string& policy_app_id,
policy::Permissions& permission));
- MOCK_CONST_METHOD0(pt, utils::SharedPtr<policy_table::Table>());
+ MOCK_CONST_METHOD0(pt, std::shared_ptr<policy_table::Table>());
MOCK_METHOD1(GetHMITypes,
const policy_table::AppHMITypes*(const std::string& app_id));
MOCK_CONST_METHOD0(GetCertificate, std::string());
- MOCK_METHOD1(SetDecryptedCertificate, void(const std::string&));
MOCK_METHOD1(GetGroups, const policy_table::Strings&(const PTString& app_id));
MOCK_CONST_METHOD2(AppHasHMIType,
bool(const std::string& application_id,