Main Struct Reference

#include <test-main.h>

Inheritance diagram for Main:
[legend]
Collaboration diagram for Main:
[legend]

List of all members.

Public Member Functions

 Main ()
void child ()
void testDied ()
void processStatus (std::string line)
void parent ()
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

Constructor & Destructor Documentation

Main::Main (  )  [inline]

Member Function Documentation

void Main::child (  )  [inline]
void Main::confirm (  )  [inline]

References confirm_fds, and want_fork.

Referenced by processStatus().

int Main::main ( int  _argc,
char **  _argv 
) [inline]
void Main::parent (  )  [inline]
void Main::processStatus ( std::string  line  )  [inline]
void Main::status ( std::string  line  )  [inline, virtual]

Implements RunFeedback.

References processStatus(), status_fds, and want_fork.

Referenced by child().

void Main::testDied (  )  [inline]

References announced_suite, current, status_code, suite_failed, test, and test_ok.

Referenced by parent().

void Main::waitForAck (  )  [inline, virtual]

Member Data Documentation

Referenced by child(), and main().

Referenced by Main(), processStatus(), and testDied().

Referenced by child(), and main().

char** Main::argv

Referenced by child(), and main().

Referenced by child(), confirm(), main(), and parent().

std::string Main::current

Referenced by processStatus(), and testDied().

Referenced by parent(), and processStatus().

Referenced by child(), and waitForAck().

Referenced by parent().

pid_t Main::pid

Referenced by main(), parent(), and processStatus().

Referenced by parent(), processStatus(), and testDied().

Referenced by child(), main(), parent(), and status().

Referenced by child(), and processStatus().

Referenced by Main(), processStatus(), and testDied().

Referenced by Main(), and processStatus().

Referenced by child(), processStatus(), and testDied().

Referenced by Main(), processStatus(), and testDied().

Referenced by Main(), and processStatus().

Referenced by Main(), and processStatus().


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

Generated on Mon Jan 4 21:35:39 2010 for wibble by  doxygen 1.6.1