TestSucessListener |
The class TestSucessListener (see Figure C-30) is a subclass of TestListener and SynchronizedObject . It indicates whether the Test it observes has succeeded. If the TestResult includes a failure, the Test is not successful.
TestSucessListener belongs to the namespace CppUnit . It is declared in the file TestSucessListener.h and implemented in the file TestSucessListener.cpp .
class TestSucessListener : public TestListener, public SynchronizedObject
A constructor. If syncObject is null , a new SynchronizationObject is created.
A destructor.
A method to report a TestFailure to the TestSucessListener . Sets m_sucess to FALSE .
Resets m_sucess to TRUE .
Returns value of m_sucess .
None.
A test success indicator; TRUE unless there is a failure ( private ).