CppUnit project page FAQ

TextTestResult.h
Go to the documentation of this file.
1#ifndef CPPUNIT_TEXTTESTRESULT_H
2#define CPPUNIT_TEXTTESTRESULT_H
3
7
9
10
11class SourceLine;
12class Exception;
13class Test;
14
22{
23public:
25
26 virtual void addFailure( const TestFailure &failure );
27 virtual void startTest( Test *test );
28 virtual void print( OStream &stream );
29
31};
32
35 TextTestResult &result );
36
38
39#endif // CPPUNIT_TEXTTESTRESULT_H
40
41
#define CPPUNIT_API
Definition CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition Portability.h:105
CPPUNIT_NS_BEGIN typedef std::ostream OStream
Definition Stream.h:330
CPPUNIT_API OStream & operator<<(OStream &stream, TextTestResult &result)
insertion operator for easy output
Definition TextTestResult.cpp:43
Exceptions thrown by failed assertions.
Definition Exception.h:20
Represents a source line location.
Definition SourceLine.h:31
Record of a failed Test execution.
Definition TestFailure.h:25
Base class for all test objects.
Definition Test.h:26
Collects test result.
Definition TestResultCollector.h:32
Manages TestListener.
Definition TestResult.h:48
virtual void addFailure(Test *test, Exception *e)
Adds a failure to the list of failures. The passed in exception caused the failure.
Definition TestResult.cpp:51
virtual void startTest(Test *test)
Informs TestListener that a test will be started.
Definition TestResult.cpp:70
Holds printable test result (DEPRECATED).
Definition TextTestResult.h:22

Send comments to:
CppUnit Developers