CppUnit project page CppUnit home page

CppUT::TestCase Class Reference
[Test case & test suite]

A test case that can be run. More...

#include <cpput/testcase.h>

Inheritance diagram for CppUT::TestCase:

Inheritance graph
[legend]
Collaboration diagram for CppUT::TestCase:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestCase (const CppTL::Functor0 &run, const std::string &name)
 TestCase (const CppTL::Functor0 &setUp, const CppTL::Functor0 &run, const CppTL::Functor0 &tearDown, const std::string &name)
void setUp ()
void run ()
void tearDown ()


Detailed Description

A test case that can be run.

Constructor & Destructor Documentation

CppUT::TestCase::TestCase ( const CppTL::Functor0 run,
const std::string &  name 
)

Referenced by CppUT::makeTestCase().

CppUT::TestCase::TestCase ( const CppTL::Functor0 setUp,
const CppTL::Functor0 run,
const CppTL::Functor0 tearDown,
const std::string &  name 
)


Member Function Documentation

void CppUT::TestCase::setUp (  )  [virtual]

Reimplemented from CppUT::AbstractTestCase.

void CppUT::TestCase::run (  )  [virtual]

Implements CppUT::AbstractTestCase.

Referenced by CppUT::makeTestCase().

void CppUT::TestCase::tearDown (  )  [virtual]

Reimplemented from CppUT::AbstractTestCase.


The documentation for this class was generated from the following files:

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers