Mir
Public Member Functions | List of all members
mir_test_framework::InProcessServer Struct Reference

Fixture for running Mir server in test process. More...

#include <in_process_server.h>

Inheritance diagram for mir_test_framework::InProcessServer:
[legend]

Public Member Functions

void SetUp () override
 Starts the server. More...
 
void TearDown () override
 Stops the server. More...
 
std::string new_connection ()
 
std::string new_prompt_connection ()
 

Detailed Description

Fixture for running Mir server in test process.

Member Function Documentation

◆ 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

◆ SetUp()

void mir_test_framework::InProcessServer::SetUp ( )
inlineoverride

Starts the server.

Warning
don't forget to call this if you override SetUp()

◆ TearDown()

void mir_test_framework::InProcessServer::TearDown ( )
inlineoverride

Stops the server.

Warning
don't forget to call this if you override TearDown()

The documentation for this struct was generated from the following file:

Copyright © 2012-2018 Canonical Ltd.
Generated on Sat Mar 31 14:22:42 UTC 2018