CppUnit project page | FAQ | CppUnit home page

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# 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   virtual ~XmlOutputterHook() {}
    00158 };
    00159
    00160
    00161 CPPUNIT_NS_END
    00162
    00163 #endif  // CPPUNIT_XMLOUTPUTTERHOOK_H

| hosts this site. |  | Send comments to: CppUnit Developers