};
}
- RUNNER_MULTIPROCESS_TEST(security_manager_12_privacy_manager_fetch_whole_policy_for_admin_privileged)
+ RUNNER_CHILD_TEST(security_manager_12_privacy_manager_fetch_whole_policy_for_admin_privileged)
{
+ std::vector<PolicyEntry> oldPolicyVec;
+ Api::getPolicy(PolicyEntry(), oldPolicyVec);
+ std::unordered_set<PolicyEntry> oldPolicySet(oldPolicyVec.begin(), oldPolicyVec.end());
+
//TEST DATA
const std::vector<std::string> usernames = {"sm_test_12_user_name_1", "sm_test_12_user_name_2"};
- unsigned int privileges_count = 0;
+ unsigned int privileges_count = oldPolicyVec.size();
std::map<std::string, std::map<std::string, std::set<std::string>>> users2AppsMap;
std::map<std::string, std::set<std::string>> apps2PrivsMap;
}
- RUNNER_MULTIPROCESS_TEST(security_manager_15_privacy_manager_send_policy_update_for_admin)
+ RUNNER_CHILD_TEST(security_manager_15_privacy_manager_send_policy_update_for_admin)
{
- RUNNER_IGNORED_MSG("temporarily disabled due to gumd timeouts");
const char *const update_app_id = "security_manager_15_update_app_id";
const char *const update_privilege = "http://tizen.org/privilege/led";
const char *const check_start_bucket = "ADMIN";
}
}
- RUNNER_MULTIPROCESS_TEST(security_manager_15_privacy_manager_send_policy_update_for_admin_wildcard)
+ RUNNER_CHILD_TEST(security_manager_15_privacy_manager_send_policy_update_for_admin_wildcard)
{
- RUNNER_IGNORED_MSG("temporarily disabled due to gumd timeouts");
const char *const update_other_app_id = "security_manager_15_update_other_app_id";
const char *const update_privilege = "http://tizen.org/privilege/led";
const char *const check_start_bucket = "ADMIN";
}
}
- RUNNER_MULTIPROCESS_TEST(security_manager_15_privacy_manager_send_policy_update_for_self)
+ RUNNER_CHILD_TEST(security_manager_15_privacy_manager_send_policy_update_for_self)
{
- RUNNER_IGNORED_MSG("temporarily disabled due to gumd timeouts");
const char *const update_app_id = "security_manager_15_update_app_id";
const char *const update_privilege = "http://tizen.org/privilege/led";
const char *const check_start_bucket = "";