CppUnit project page | FAQ | CppUnit home page |
#include <TestSuccessListener.h>
Inheritance diagram for TestSuccessListener:
Public Member Functions | |
TestSuccessListener (SynchronizationObject *syncObject=0) | |
virtual | ~TestSuccessListener () |
Destructor. | |
virtual void | reset () |
void | addFailure (const TestFailure &failure) |
Called when a failure occurs while running a test. | |
virtual bool | wasSuccessful () const |
Returns whether the entire test was successful or not. | |
Private Attributes | |
bool | m_success |
|
Constructs a TestSuccessListener object. |
|
Destructor.
|
|
Called when a failure occurs while running a test.
Reimplemented from TestListener. Reimplemented in TestResultCollector, and TextTestResult. |
|
Reimplemented in TestResultCollector. |
|
Returns whether the entire test was successful or not.
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |