X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fsecurity-manager-tests%2Ftest_cases_app_policy.cpp;h=27267f814b52e9fa314e848ec5bd677382df2f09;hb=10336ec78265cee9a3fa4d82c2f895dad3383444;hp=bb3ab94c2089501cfdf5c043df13d50207ff93a6;hpb=4f5ae1c2c96e890ba0316e1d4a8c4d33930038fe;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git diff --git a/src/security-manager-tests/test_cases_app_policy.cpp b/src/security-manager-tests/test_cases_app_policy.cpp index bb3ab94..27267f8 100644 --- a/src/security-manager-tests/test_cases_app_policy.cpp +++ b/src/security-manager-tests/test_cases_app_policy.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2018 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,11 +27,14 @@ #include #include +#include + +using namespace PrivilegeNames; const PrivilegeVector TEST_PRIVACY_PRIVILEGES = { - Privilege("http://tizen.org/privilege/callhistory.read", Privilege::PRIVACY), - Privilege("http://tizen.org/privilege/account.read", Privilege::PRIVACY), - Privilege("http://tizen.org/privilege/healthinfo", Privilege::PRIVACY) }; + Privilege(PRIV_CALLHISTORY_READ, Privilege::PRIVACY), + Privilege(PRIV_ACCOUNT_READ, Privilege::PRIVACY), + Privilege(PRIV_HEALTHINFO, Privilege::PRIVACY) }; using namespace SecurityManagerTest;