CppUnit project page FAQ CppUnit home page

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

TestListener.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TESTLISTENER_H    // -*- C++ -*-
00002 #define CPPUNIT_TESTLISTENER_H
00003 
00004 #include <cppunit/Portability.h>
00005 
00006 
00007 namespace CppUnit {
00008 
00009 class Exception;
00010 class Test;
00011 class TestFailure;
00012 
00013 
00030 class CPPUNIT_API TestListener
00031 {
00032 public:
00033   virtual ~TestListener() {}
00034   
00036   virtual void startTest( Test *test ) {}
00037 
00043   virtual void addFailure( const TestFailure &failure ) {}
00044 
00046   virtual void endTest( Test *test ) {}
00047 };
00048 
00049 
00050 } // namespace CppUnit
00051 
00052 #endif // CPPUNIT_TESTLISTENER_H
00053 
00054 

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