19 #ifndef MIR_TEST_FRAMEWORK_SERVER_RUNNER_H_ 20 #define MIR_TEST_FRAMEWORK_SERVER_RUNNER_H_ 22 #include <gtest/gtest.h> 32 class DefaultServerConfiguration;
52 std::string new_connection();
55 std::string new_prompt_connection();
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: sw_splash.h:26
Definition: any_surface.h:25
Utility for running Mir server in test process.
Definition: server_runner.h:38