Last change
on this file since 876 was
876,
checked in by sam, 9 years ago
|
contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.
|
File size:
916 bytes
|
Line | |
---|
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 | |
---|
15 | /*! \brief Holds printable test result (DEPRECATED). |
---|
16 | * \ingroup TrackingTestExecution |
---|
17 | * |
---|
18 | * deprecated Use class TextTestProgressListener and TextOutputter instead. |
---|
19 | */ |
---|
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 | |
---|
31 | /** insertion operator for easy output */ |
---|
32 | CPPUNIT_API OStream &operator <<( OStream &stream, |
---|
33 | TextTestResult &result ); |
---|
34 | |
---|
35 | CPPUNIT_NS_END |
---|
36 | |
---|
37 | #endif // CPPUNIT_TEXTTESTRESULT_H |
---|
38 | |
---|
39 | |
---|
Note: See
TracBrowser
for help on using the repository browser.