CPUnit 0.7 (beta)
The REAL C++ port of JUnit.
|
#include <unittest_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 unittest_TestUnit.hpp.
Definition at line 35 of file unittest_TestUnit.cpp.
unittest::TestUnit::~TestUnit | ( | ) | [virtual] |
Definition at line 41 of file unittest_TestUnit.cpp.
unittest::Callable * unittest::TestUnit::get_tear_down | ( | ) |
Definition at line 64 of file unittest_TestUnit.cpp.
unittest::Callable * unittest::TestUnit::get_test | ( | ) |
Definition at line 59 of file unittest_TestUnit.cpp.
Definition at line 79 of file unittest_TestUnit.cpp.
void unittest::TestUnit::run_set_up | ( | ) |
Definition at line 45 of file unittest_TestUnit.cpp.
void unittest::TestUnit::run_test | ( | ) |
Definition at line 52 of file unittest_TestUnit.cpp.
Callable* unittest::TestUnit::setUp [private] |
Definition at line 49 of file unittest_TestUnit.hpp.
Callable * unittest::TestUnit::tearDown [private] |
Definition at line 49 of file unittest_TestUnit.hpp.
Callable * unittest::TestUnit::test [private] |
Definition at line 49 of file unittest_TestUnit.hpp.