CppUnit project page FAQ

TestSuccessListener.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_TESTSUCCESSLISTENER_H
2 #define CPPUNIT_TESTSUCCESSLISTENER_H
3 
5 #include <cppunit/TestListener.h>
6 
7 
9 
10 
15  public SynchronizedObject
16 {
17 public:
20  TestSuccessListener( SynchronizationObject *syncObject = 0 );
21 
23  virtual ~TestSuccessListener();
24 
25  virtual void reset();
26 
27  void addFailure( const TestFailure &failure );
28 
30  virtual bool wasSuccessful() const;
31 
32 private:
33  bool m_success;
34 };
35 
36 
38 
39 #endif // CPPUNIT_TESTSUCCESSLISTENER_H

Send comments to:
CppUnit Developers