Utility for running Mir server in test process.
More...
#include <server_runner.h>
Utility for running Mir server in test process.
◆ ServerRunner()
mir_test_framework::ServerRunner::ServerRunner |
( |
| ) |
|
◆ ~ServerRunner()
virtual mir_test_framework::ServerRunner::~ServerRunner |
( |
| ) |
|
|
virtual |
◆ new_connection()
std::string mir_test_framework::ServerRunner::new_connection |
( |
| ) |
|
- Returns
- a connection string for a new client to connect to the server
◆ new_prompt_connection()
std::string mir_test_framework::ServerRunner::new_prompt_connection |
( |
| ) |
|
- Returns
- a connection string for a new client to connect to the prompt server
◆ start_server()
void mir_test_framework::ServerRunner::start_server |
( |
| ) |
|
Starts the server The method is synchronous, i.e., it returns only after the server has started.
◆ stop_server()
void mir_test_framework::ServerRunner::stop_server |
( |
| ) |
|
Stops the server The method is synchronous, i.e., it returns only after the server has stopped.
The documentation for this struct was generated from the following file:
Copyright © 2012-2018
Canonical Ltd.
Generated on Mon Feb 19 14:05:11 UTC 2018