CppUnit project page
FAQ
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
include
cppunit
TextTestResult.h
Go to the documentation of this file.
1
#ifndef CPPUNIT_TEXTTESTRESULT_H
2
#define CPPUNIT_TEXTTESTRESULT_H
3
4
#include <
cppunit/TestResult.h
>
5
#include <
cppunit/TestResultCollector.h
>
6
#include <
cppunit/portability/Stream.h
>
7
8
CPPUNIT_NS_BEGIN
9
10
11
class
SourceLine
;
12
class
Exception
;
13
class
Test
;
14
20
class
CPPUNIT_API
TextTestResult
:
public
TestResult
,
21
public
TestResultCollector
22
{
23
public
:
24
TextTestResult
();
25
26
virtual
void
addFailure
(
const
TestFailure
&failure );
27
virtual
void
startTest
(
Test
*test );
28
virtual
void
print(
OStream
&stream );
29
};
30
32
CPPUNIT_API
OStream
&
operator <<
(
OStream
&stream,
33
TextTestResult
&result );
34
35
CPPUNIT_NS_END
36
37
#endif // CPPUNIT_TEXTTESTRESULT_H
38
39
Send comments to:
CppUnit Developers