projects
/
platform
/
core
/
test
/
security-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace magic policy level strings with constexpr
[platform/core/test/security-tests.git]
/
src
/
common
/
sm_policy_request.h
diff --git
a/src/common/sm_policy_request.h
b/src/common/sm_policy_request.h
index
4c12102
..
d1791a7
100644
(file)
--- a/
src/common/sm_policy_request.h
+++ b/
src/common/sm_policy_request.h
@@
-29,6
+29,10
@@
namespace SecurityManagerTest {
class PolicyEntry
{
public:
+ static constexpr char LEVEL_ALLOW[] = "Allow";
+ static constexpr char LEVEL_DENY[] = "Deny";
+ static constexpr char LEVEL_ASK_USER[] = "Ask user";
+
PolicyEntry();
PolicyEntry(const std::string &appId,