CppUnit project page | FAQ | CppUnit home page |
TestListener that show the status of each TestCase test result. More...
#include <TextTestProgressListener.h>
Public Member Functions | |
TextTestProgressListener () | |
virtual | ~TextTestProgressListener () |
Destructor. More... | |
void | startTest (Test *test) |
Called when just before a TestCase is run. More... | |
void | addFailure (const TestFailure &failure) |
Called when a failure occurs while running a test. More... | |
void | endTestRun (Test *test, TestResult *eventManager) |
Called by a TestRunner after running the test. More... | |
![]() | |
virtual | ~TestListener () |
virtual void | endTest (Test *) |
Called just after a TestCase was run (even if a failure occured). More... | |
virtual void | startSuite (Test *) |
Called by a TestComposite just before running its child tests. More... | |
virtual void | endSuite (Test *) |
Called by a TestComposite after running its child tests. More... | |
virtual void | startTestRun (Test *, TestResult *) |
Called by a TestRunner before running the test. More... | |
Private Member Functions | |
TextTestProgressListener (const TextTestProgressListener ©) | |
Prevents the use of the copy constructor. More... | |
void | operator= (const TextTestProgressListener ©) |
Prevents the use of the copy operator. More... | |
TestListener that show the status of each TestCase test result.
CPPUNIT_NS_BEGIN TextTestProgressListener::TextTestProgressListener | ( | ) |
Constructs a TextTestProgressListener object.
|
virtual |
Destructor.
|
private |
Prevents the use of the copy constructor.
|
virtual |
Called when a failure occurs while running a test.
Reimplemented from TestListener.
|
virtual |
Called by a TestRunner after running the test.
TextTestProgressListener use this to emit a line break. You can also use this to do some global uninitialisation.
test | Test that was run. |
eventManager | Event manager used for the test run. |
Reimplemented from TestListener.
|
private |
Prevents the use of the copy operator.
|
virtual |
Called when just before a TestCase is run.
Reimplemented from TestListener.
|
hosts this site. |
Send comments to: CppUnit Developers |