CppUnit project page FAQ CppUnit home page

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CppUnit::TextTestProgressListener Class Reference
[Tracking test execution]

TestListener that show the status of each TestCase test result. More...

#include <TextTestProgressListener.h>

Inheritance diagram for CppUnit::TextTestProgressListener:

CppUnit::TestListener List of all members.

Public Methods

 TextTestProgressListener ()
virtual ~TextTestProgressListener ()
 Destructor. More...

void startTest (Test *test)
 Called when just before a TestCase is run. More...

void addFailure (const TestFailure &failure)
void done ()

Private Methods

 TextTestProgressListener (const TextTestProgressListener &copy)
 Prevents the use of the copy constructor. More...

void operator= (const TextTestProgressListener &copy)
 Prevents the use of the copy operator. More...


Detailed Description

TestListener that show the status of each TestCase test result.


Constructor & Destructor Documentation

CppUnit::TextTestProgressListener::TextTestProgressListener  
 

Constructs a TextTestProgressListener object.

CppUnit::TextTestProgressListener::~TextTestProgressListener   [virtual]
 

Destructor.

CppUnit::TextTestProgressListener::TextTestProgressListener const TextTestProgressListener &    copy [private]
 

Prevents the use of the copy constructor.


Member Function Documentation

void CppUnit::TextTestProgressListener::addFailure const TestFailure   failure [virtual]
 

Called when a failure occurs while running a test.

See also:
TestFailure.
Warning:
failure is a temporary object that is destroyed after the method call. Use TestFailure::clone() to create a duplicate.

Reimplemented from CppUnit::TestListener.

void CppUnit::TextTestProgressListener::done  
 

void CppUnit::TextTestProgressListener::operator= const TextTestProgressListener &    copy [private]
 

Prevents the use of the copy operator.

void CppUnit::TextTestProgressListener::startTest Test   test [virtual]
 

Called when just before a TestCase is run.

Reimplemented from CppUnit::TestListener.


The documentation for this class was generated from the following files:
SourceForge Logo hosts this site. Send comments to:
CppUnit Developers