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  

TextTestResult.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_TEXTTESTRESULT_H
00002 #define CPPUNIT_TEXTTESTRESULT_H
00003 
00004 #include <iostream>
00005 #include <cppunit/TestResult.h>
00006 
00007 namespace CppUnit {
00008 
00009   class Exception;
00010   class Test;
00011 
00012   class TextTestResult : public TestResult 
00013   {
00014     public:
00015       virtual void        addError      (Test *test, Exception *e);
00016       virtual void        addFailure    (Test *test, Exception *e);
00017       virtual void        startTest     (Test *test);
00018       virtual void        print         (std::ostream& stream);
00019       virtual void        printErrors   (std::ostream& stream);
00020       virtual void        printFailures (std::ostream& stream);
00021       virtual void        printHeader   (std::ostream& stream);
00022       
00023   };
00024 
00026   std::ostream& operator<< (std::ostream& stream, TextTestResult& result);
00027 
00028 } // namespace CppUnit
00029 
00030 #endif // CPPUNIT_TEXTTESTRESULT_H
00031 
00032 

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