1 #ifndef CPPUNIT_TESTSUCCESSLISTENER_H 2 #define CPPUNIT_TESTSUCCESSLISTENER_H 30 virtual bool wasSuccessful()
const;
39 #endif // CPPUNIT_TESTSUCCESSLISTENER_H virtual void addFailure(const TestFailure &)
Called when a failure occurs while running a test.
Definition: TestListener.h:107
bool m_success
Definition: TestSuccessListener.h:33
Abstract synchronization object (mutex)
Definition: SynchronizedObject.h:27
Record of a failed Test execution.A TestFailure collects a failed test together with the caught excep...
Definition: TestFailure.h:24
#define CPPUNIT_NS_END
Definition: Portability.h:120
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
TestListener that checks if any test case failed.
Definition: TestSuccessListener.h:14
Listener for test progress and result.Implementing the Observer pattern a TestListener may be registe...
Definition: TestListener.h:94
#define CPPUNIT_API
Definition: CppUnitApi.h:27
Base class for synchronized object.
Definition: SynchronizedObject.h:22