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  

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 <iostream>
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( std::ostream &stream );
00029 };
00030 
00032 CPPUNIT_API std::ostream &operator <<( std::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