CppUnit project page | FAQ | CppUnit home page |
TestListener that prints the name of each test before running it. More...
#include <BriefTestProgressListener.h>
Public Member Functions | |
BriefTestProgressListener () | |
virtual | ~BriefTestProgressListener () |
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 | endTest (Test *test) |
Called just after a TestCase was run (even if a failure occured). More... | |
![]() | |
virtual | ~TestListener () |
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... | |
virtual void | endTestRun (Test *, TestResult *) |
Called by a TestRunner after running the test. More... | |
Private Member Functions | |
BriefTestProgressListener (const BriefTestProgressListener ©) | |
Prevents the use of the copy constructor. More... | |
void | operator= (const BriefTestProgressListener ©) |
Prevents the use of the copy operator. More... | |
Private Attributes | |
bool | m_lastTestFailed |
TestListener that prints the name of each test before running it.
CPPUNIT_NS_BEGIN BriefTestProgressListener::BriefTestProgressListener | ( | ) |
Constructs a BriefTestProgressListener 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 just after a TestCase was run (even if a failure occured).
Reimplemented from TestListener.
|
private |
Prevents the use of the copy operator.
|
virtual |
Called when just before a TestCase is run.
Reimplemented from TestListener.
|
private |
|
hosts this site. |
Send comments to: CppUnit Developers |