CppUnit project page FAQ CppUnit home page

Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

TestSucessListener.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TESTSUCESSLISTENER_H
00002 #define CPPUNIT_TESTSUCESSLISTENER_H
00003 
00004 #include <cppunit/SynchronizedObject.h>
00005 #include <cppunit/TestListener.h>
00006 
00007 
00008 namespace CppUnit
00009 {
00010 
00014 class CPPUNIT_API TestSucessListener : public TestListener,
00015                                        public SynchronizedObject
00016 {
00017 public:
00020   TestSucessListener( SynchronizationObject *syncObject = 0 );
00021 
00023   virtual ~TestSucessListener();
00024 
00025   virtual void reset();
00026 
00027   void addFailure( const TestFailure &failure );
00028 
00030   virtual bool wasSuccessful() const;
00031 
00032 private:
00033   bool m_sucess;
00034 };
00035 
00036 
00037 } //  namespace CppUnit
00038 
00039 
00040 #endif  // CPPUNIT_TESTSUCESSLISTENER_H

SourceForge Logo hosts this site. Send comments to:
CppUnit Developers