Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Enumerations | Functions
mir_test_framework Namespace Reference

Classes

class  CrossProcessSync
 
class  DefaultDisplayServerTestFixture
 
class  BespokeDisplayServerTestFixture
 
class  InputTestingServerConfiguration
 
struct  Result
 
class  Process
 
struct  StubConnectionConfiguration
 
struct  TestingClientConfiguration
 
class  TestingProcessManager
 
class  TestingServerConfiguration
 

Enumerations

enum  ClientLifecycleState { starting, appeared, vanished }
 
enum  TerminationReason {
  TerminationReason::unknown, TerminationReason::child_terminated_normally, TerminationReason::child_terminated_by_signal, TerminationReason::child_terminated_with_core_dump,
  TerminationReason::child_stopped_by_signal, TerminationReason::child_resumed_by_signal
}
 

Functions

bool detect_server (std::string const &name, std::chrono::milliseconds const &timeout)
 
std::ostream & operator<< (std::ostream &out, const Result &result)
 
template<typename Callable >
std::shared_ptr< Processfork_and_run_in_a_different_process (Callable &&main_fn, std::function< int()> exit_fn)
 
std::string const & test_socket_file ()
 

Enumeration Type Documentation

Enumerator
starting 
appeared 
vanished 
Enumerator
unknown 
child_terminated_normally 
child_terminated_by_signal 
child_terminated_with_core_dump 
child_stopped_by_signal 
child_resumed_by_signal 

Function Documentation

bool mir_test_framework::detect_server ( std::string const &  name,
std::chrono::milliseconds const &  timeout 
)
template<typename Callable >
std::shared_ptr<Process> mir_test_framework::fork_and_run_in_a_different_process ( Callable &&  main_fn,
std::function< int()>  exit_fn 
)
std::ostream& mir_test_framework::operator<< ( std::ostream &  out,
const Result &  result 
)
std::string const & mir_test_framework::test_socket_file ( )

Copyright © 2012,2013 Canonical Ltd.
Generated on Wed Oct 30 18:52:19 UTC 2013