Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
mir_test_framework::InProcessServer Struct Referenceabstract

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

#include <in_process_server.h>

Inheritance diagram for mir_test_framework::InProcessServer:
Inheritance graph
[legend]

Public Member Functions

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

Detailed Description

Fixture for running Mir server in test process.

Constructor & Destructor Documentation

mir_test_framework::InProcessServer::InProcessServer ( )
mir_test_framework::InProcessServer::~InProcessServer ( )

Member Function Documentation

std::string mir_test_framework::InProcessServer::new_connection ( )
Returns
a connection string for a new client to connect to the server
void mir_test_framework::InProcessServer::SetUp ( )
override

Starts the server.

Warning
don't forget to call this if you override SetUp()
void mir_test_framework::InProcessServer::TearDown ( )
override

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,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014