CPUnit 0.95 (beta)
The REAL C++ port of JUnit.
cpunit::TestUnit Class Reference

#include <cpunit_TestUnit.hpp>

List of all members.

Public Member Functions

 TestUnit (Callable *_setUp, Callable *_tearDown, Callable *_test)
virtual ~TestUnit ()
void run_set_up ()
void run_test ()
Callableget_test ()
Callableget_tear_down ()

Static Public Member Functions

static bool lexical_cmp (const TestUnit &a, const TestUnit &b)

Private Attributes

CallablesetUp
CallabletearDown
Callabletest

Detailed Description

Definition at line 48 of file cpunit_TestUnit.hpp.


Constructor & Destructor Documentation

cpunit::TestUnit::TestUnit ( Callable _setUp,
Callable _tearDown,
Callable _test 
)

Definition at line 35 of file cpunit_TestUnit.cpp.

cpunit::TestUnit::~TestUnit ( ) [virtual]

Definition at line 41 of file cpunit_TestUnit.cpp.


Member Function Documentation

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.

bool cpunit::TestUnit::lexical_cmp ( const TestUnit a,
const TestUnit b 
) [static]

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.


Member Data Documentation

Definition at line 49 of file cpunit_TestUnit.hpp.

Definition at line 49 of file cpunit_TestUnit.hpp.

Definition at line 49 of file cpunit_TestUnit.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines