Cookie API tests cleanup.
[platform/core/test/security-tests.git] / tests / common / tests_common.h
index 52c7508..b10bdfa 100644 (file)
@@ -45,6 +45,10 @@ typedef std::unique_ptr<int, std::function<void(int*)> > FDUniquePtr;
 int smack_runtime_check(void);
 int smack_check(void);
 int drop_root_privileges(void);
+void closeFdPtr(int *fd);
+void setLabelForSelf(const int line, const char *label);
+void add_process_group(const char* group_name);
+void remove_process_group(const char* group_name);
 
 #define RUNNER_TEST_SMACK(Proc)                                                     \
     void Proc();                                                                    \
@@ -134,9 +138,6 @@ int drop_root_privileges(void);
                                                           msg << gdbbacktrace())
 #define RUNNER_ASSERT_BT(test) RUNNER_ASSERT_MSG_BT(test, "")
 
-void closeFdPtr(int *fd);
-void setLabelForSelf(const int line, const char *label);
-
 class ScopedClose : public DPL::ScopedResource<DPL::ScopedClosePolicy>
 {
     typedef DPL::ScopedClosePolicy Policy;