CppUnit project page | FAQ

XmlOutputterHook.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_XMLOUTPUTTERHOOK_H
2 #define CPPUNIT_XMLOUTPUTTERHOOK_H
3
4 #include <cppunit/Portability.h>
5
6
7 CPPUNIT_NS_BEGIN
8
9
10 class Test;
11 class TestFailure;
12 class XmlDocument;
13 class XmlElement;
14
15
16
117 class CPPUNIT_API XmlOutputterHook
118 {
119 public:
123 virtual void beginDocument( XmlDocument *document );
124
128 virtual void endDocument( XmlDocument *document );
129
136 virtual void failTestAdded( XmlDocument *document,
137 XmlElement *testElement,
138 Test *test,
139 TestFailure *failure );
140
146 virtual void successfulTestAdded( XmlDocument *document,
147 XmlElement *testElement,
148 Test *test );
149
154 virtual void statisticsAdded( XmlDocument *document,
155 XmlElement *statisticsElement );
156
157 virtual ~XmlOutputterHook() {}
158 };
159
160
161 CPPUNIT_NS_END
162
163 #endif // CPPUNIT_XMLOUTPUTTERHOOK_H
Portability.h
XmlElement
A XML Element.
Definition: XmlElement.h:33
Test
Base class for all test objects.All test objects should be a subclass of Test. Some test objects...
Definition: Test.h:25
XmlOutputterHook::~XmlOutputterHook
virtual ~XmlOutputterHook()
Definition: XmlOutputterHook.h:157
XmlDocument
A XML Document.
Definition: XmlDocument.h:27
TestFailure
Record of a failed Test execution.A TestFailure collects a failed test together with the caught excep...
Definition: TestFailure.h:24
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:120
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:119
XmlOutputterHook
Hook to customize Xml output.
Definition: XmlOutputterHook.h:117
CPPUNIT_API
#define CPPUNIT_API
Definition: CppUnitApi.h:27

| Send comments to: CppUnit Developers