Mir
Classes | Namespaces | Enumerations | Functions
process.h File Reference
#include <chrono>
#include <cstdlib>
#include <functional>
#include <iosfwd>
#include <memory>
#include <stdexcept>
#include <unistd.h>
Include dependency graph for process.h:

Go to the source code of this file.

Classes

struct  mir_test_framework::Result
 
class  mir_test_framework::Process
 

Namespaces

 mir_test_framework
 

Enumerations

enum  mir_test_framework::TerminationReason {
  mir_test_framework::TerminationReason::unknown, mir_test_framework::TerminationReason::child_terminated_normally, mir_test_framework::TerminationReason::child_terminated_by_signal, mir_test_framework::TerminationReason::child_terminated_with_core_dump,
  mir_test_framework::TerminationReason::child_stopped_by_signal, mir_test_framework::TerminationReason::child_resumed_by_signal
}
 

Functions

std::ostream & mir_test_framework::operator<< (std::ostream &out, const Result &result)
 
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)
 

Copyright © 2012-2017 Canonical Ltd.
Generated on Mon Oct 30 19:44:55 UTC 2017