19 #ifndef MIR_TEST_FRAMEWORK_SERVER_RUNNER_H_ 20 #define MIR_TEST_FRAMEWORK_SERVER_RUNNER_H_ 22 #include <gtest/gtest.h> 32 class DefaultServerConfiguration;
58 std::shared_ptr<mir::MainLoop> start_mir_server();
59 virtual mir::DefaultServerConfiguration& server_config() = 0;
61 char const*
const old_env;
62 std::thread server_thread;
63 std::mutex main_loop_mutex;
64 std::shared_ptr<mir::MainLoop> main_loop;
AutoUnblockThread is a helper thread class that can gracefully shutdown at destruction time...
Definition: blob.h:26
std::string new_prompt_connection()
std::string new_connection()
Definition: any_surface.h:25
void stop_server()
Stops the server The method is synchronous, i.e., it returns only after the server has stopped...
Utility for running Mir server in test process.
Definition: server_runner.h:38
void start_server()
Starts the server The method is synchronous, i.e., it returns only after the server has started...