CppUnit project page FAQ CppUnit home page

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

TestListener.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TESTLISTENER_H    // -*- C++ -*-
00002 #define CPPUNIT_TESTLISTENER_H
00003 
00004 
00005 namespace CppUnit {
00006 
00007 class Exception;
00008 class Test;
00009 
00010 
00015 class TestListener
00016 {
00017 public:
00018     virtual ~TestListener() {}
00019     
00020     virtual void startTest( Test *test ) {}
00021     virtual void addError( Test *test, Exception *e ) {}
00022     virtual void addFailure( Test *test, Exception *e ) {}
00023     virtual void endTest( Test *test ) {}
00024 };
00025 
00026 
00027 } // namespace CppUnit
00028 
00029 #endif // CPPUNIT_TESTLISTENER_H
00030 
00031 

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