CppUnit project page FAQ CppUnit home page

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

TextTestResult.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TEXTTESTRESULT_H
00002 #define CPPUNIT_TEXTTESTRESULT_H
00003 
00004 #include <cppunit/TestResult.h>
00005 #include <cppunit/TestResultCollector.h>
00006 #include <cppunit/portability/Stream.h>
00007 
00008 CPPUNIT_NS_BEGIN
00009 
00010 
00011 class SourceLine;
00012 class Exception;
00013 class Test;
00014 
00020 class CPPUNIT_API TextTestResult : public TestResult,
00021                                    public TestResultCollector
00022 {
00023 public:
00024   TextTestResult();
00025 
00026   virtual void addFailure( const TestFailure &failure );
00027   virtual void startTest( Test *test );
00028   virtual void print( OStream &stream );
00029 };
00030 
00032 CPPUNIT_API OStream &operator <<( OStream &stream, 
00033                                   TextTestResult &result );
00034 
00035 CPPUNIT_NS_END
00036 
00037 #endif // CPPUNIT_TEXTTESTRESULT_H
00038 
00039 

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