CppUnit - The Unit Testing Library

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
CPPUNIT_API
#define CPPUNIT_API
Definition: CppUnitApi.h:27
TestFailure
Record of a failed Test execution.
Definition: TestFailure.h:25
XmlDocument
A XML Document.
Definition: XmlDocument.h:28
XmlElement
A XML Element.
Definition: XmlElement.h:34
XmlOutputterHook::~XmlOutputterHook
virtual ~XmlOutputterHook()
Definition: XmlOutputterHook.h:157
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:106
Test
Base class for all test objects.
Definition: Test.h:26
XmlOutputterHook
Hook to customize Xml output.
Definition: XmlOutputterHook.h:118
Portability.h

| Send comments to: CppUnit Developers