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 Result wait_for_shutdown_server_process();
62 void kill_client_processes();
63 void terminate_client_processes();
64 void run_in_test_process(std::function<
void()>
const& run_code);
67 std::shared_ptr<Process> server_process;
68 std::list<std::shared_ptr<Process>> clients;
71 bool server_process_was_started;
78 #endif // MIR_TESTING_PROCESS_MANAGER
Definition: testing_process_manager.h:47
Definition: testing_client_configuration.h:27
Definition: testing_server_configuration.h:30
std::string const & test_socket_file()