wibble 1.1
|
#include <test-main.h>
Public Member Functions | |
Main () | |
void | child () |
void | processStatus (std::string line) |
void | status (std::string line) |
void | confirm () |
void | waitForAck () |
int | main (int _argc, char **_argv) |
Public Attributes | |
int | suite |
int | test |
wibble::sys::Pipe | p_status |
wibble::sys::Pipe | p_confirm |
int | status_fds [2] |
int | confirm_fds [2] |
pid_t | pid |
int | argc |
char ** | argv |
pid_t | finished |
int | status_code |
int | test_ok |
int | suite_ok |
int | suite_failed |
int | total_ok |
int | total_failed |
int | announced_suite |
std::string | current |
bool | want_fork |
RunAll | all |
|
inline |
References announced_suite, suite_failed, suite_ok, test_ok, total_failed, and total_ok.
|
inline |
References all, argc, argv, confirm_fds, RunAll::findSuite(), RunSuite::findTest(), p_confirm, RunAll::runFrom(), RunAll::runSuite(), RunAll::runTest(), status(), status_fds, suite, and test.
Referenced by main().
|
inline |
References confirm_fds, and want_fork.
Referenced by processStatus().
|
inline |
References all, argc, argv, child(), confirm_fds, RunAll::feedback, pid, status_fds, RunAll::suiteCount, RunAll::suites, and want_fork.
Referenced by main().
|
inline |
References announced_suite, assert, assert_eq, confirm(), current, finished, pid, status_code, suite, suite_failed, suite_ok, test, test_ok, total_failed, total_ok, and want_fork.
Referenced by status().
|
inlinevirtual |
Implements RunFeedback.
References processStatus(), status_fds, and want_fork.
Referenced by child().
|
inlinevirtual |
Implements RunFeedback.
References assert_eq, wibble::sys::Pipe::nextLineBlocking(), p_confirm, and want_fork.
int Main::announced_suite |
Referenced by Main(), and processStatus().
std::string Main::current |
Referenced by processStatus().
pid_t Main::finished |
Referenced by processStatus().
wibble::sys::Pipe Main::p_confirm |
Referenced by child(), and waitForAck().
wibble::sys::Pipe Main::p_status |
pid_t Main::pid |
Referenced by main(), and processStatus().
int Main::status_code |
Referenced by processStatus().
int Main::suite |
Referenced by child(), and processStatus().
int Main::suite_failed |
Referenced by Main(), and processStatus().
int Main::suite_ok |
Referenced by Main(), and processStatus().
int Main::test |
Referenced by child(), and processStatus().
int Main::test_ok |
Referenced by Main(), and processStatus().
int Main::total_failed |
Referenced by Main(), and processStatus().
int Main::total_ok |
Referenced by Main(), and processStatus().
bool Main::want_fork |
Referenced by confirm(), main(), processStatus(), status(), and waitForAck().