19 #ifndef MIR_TESTING_PROCESS_MANAGER
20 #define MIR_TESTING_PROCESS_MANAGER
42 namespace mir_test_framework
57 void tear_down_clients();
58 void tear_down_server();
60 Result shutdown_server_process();
61 void kill_client_processes();
62 void terminate_client_processes();
63 void run_in_test_process(std::function<
void()>
const& run_code);
66 std::shared_ptr<Process> server_process;
67 std::list<std::shared_ptr<Process>> clients;
70 bool server_process_was_started;
77 #endif // MIR_TESTING_PROCESS_MANAGER