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

XmlOutputterHook.h

Go to the documentation of this file.
00001 #ifndef CPPUNIT_XMLOUTPUTTERHOOK_H
00002 #define CPPUNIT_XMLOUTPUTTERHOOK_H
00003 
00004 #include <cppunit/Portability.h>
00005 
00006 
00007 CPPUNIT_NS_BEGIN
00008 
00009 
00010 class Test;
00011 class TestFailure;
00012 class XmlDocument;
00013 class XmlElement;
00014 
00015 
00016 
00117 class CPPUNIT_API XmlOutputterHook
00118 {
00119 public:
00123   virtual void beginDocument( XmlDocument *document );
00124 
00128   virtual void endDocument( XmlDocument *document );
00129 
00136   virtual void failTestAdded( XmlDocument *document,
00137                               XmlElement *testElement,
00138                               Test *test,
00139                               TestFailure *failure );
00140 
00146   virtual void successfulTestAdded( XmlDocument *document,
00147                                     XmlElement *testElement,
00148                                     Test *test );
00149 
00154   virtual void statisticsAdded( XmlDocument *document,
00155                                 XmlElement *statisticsElement );
00156 };
00157 
00158 
00159 CPPUNIT_NS_END
00160 
00161 #endif  // CPPUNIT_XMLOUTPUTTERHOOK_H

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