CppUnit project page
FAQ
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
cppunit
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
Send comments to:
CppUnit Developers