CPUnit 0.95 (beta)
The REAL C++ port of JUnit.
|
#include <cpunit_TestUnit.hpp>
Public Member Functions | |
TestUnit (Callable *_setUp, Callable *_tearDown, Callable *_test) | |
virtual | ~TestUnit () |
void | run_set_up () |
void | run_test () |
Callable * | get_test () |
Callable * | get_tear_down () |
Static Public Member Functions | |
static bool | lexical_cmp (const TestUnit &a, const TestUnit &b) |
Private Attributes | |
Callable * | setUp |
Callable * | tearDown |
Callable * | test |
Definition at line 48 of file cpunit_TestUnit.hpp.
Definition at line 35 of file cpunit_TestUnit.cpp.
cpunit::TestUnit::~TestUnit | ( | ) | [virtual] |
Definition at line 41 of file cpunit_TestUnit.cpp.
cpunit::Callable * cpunit::TestUnit::get_tear_down | ( | ) |
Definition at line 64 of file cpunit_TestUnit.cpp.
cpunit::Callable * cpunit::TestUnit::get_test | ( | ) |
Definition at line 59 of file cpunit_TestUnit.cpp.
Definition at line 79 of file cpunit_TestUnit.cpp.
void cpunit::TestUnit::run_set_up | ( | ) |
Definition at line 45 of file cpunit_TestUnit.cpp.
void cpunit::TestUnit::run_test | ( | ) |
Definition at line 52 of file cpunit_TestUnit.cpp.
Callable* cpunit::TestUnit::setUp [private] |
Definition at line 49 of file cpunit_TestUnit.hpp.
Callable * cpunit::TestUnit::tearDown [private] |
Definition at line 49 of file cpunit_TestUnit.hpp.
Callable * cpunit::TestUnit::test [private] |
Definition at line 49 of file cpunit_TestUnit.hpp.