| 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. | |
| void | startTest (Test *test) |
| Called when just before a TestCase is run. | |
| void | addFailure (const TestFailure &failure) |
| Called when a failure occurs while running a test. | |
| void | endTest (Test *test) |
| Called just after a TestCase was run (even if a failure occured). | |
Private Member Functions | |
| BriefTestProgressListener (const BriefTestProgressListener ©) | |
| Prevents the use of the copy constructor. | |
| void | operator= (const BriefTestProgressListener ©) |
| Prevents the use of the copy operator. | |
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.
| BriefTestProgressListener::~BriefTestProgressListener | ( | ) | [virtual] |
Destructor.
| BriefTestProgressListener::BriefTestProgressListener | ( | const BriefTestProgressListener & | copy | ) | [private] |
Prevents the use of the copy constructor.
| void BriefTestProgressListener::addFailure | ( | const TestFailure & | ) | [virtual] |
Called when a failure occurs while running a test.
Reimplemented from TestListener.
| void BriefTestProgressListener::endTest | ( | Test * | ) | [virtual] |
Called just after a TestCase was run (even if a failure occured).
Reimplemented from TestListener.
| void BriefTestProgressListener::operator= | ( | const BriefTestProgressListener & | copy | ) | [private] |
Prevents the use of the copy operator.
| void BriefTestProgressListener::startTest | ( | Test * | ) | [virtual] |
Called when just before a TestCase is run.
Reimplemented from TestListener.
bool BriefTestProgressListener::m_lastTestFailed [private] |
|
|
hosts this site. |
Send comments to: CppUnit Developers |