Replace magic policy level strings with constexpr
[platform/core/test/security-tests.git] / src / common / sm_policy_request.h
index 4c12102..d1791a7 100644 (file)
@@ -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,