source: trunk/contrib/cppunit-1.12.2/include/cppunit/TextTestResult.h @ 876

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
8CPPUNIT_NS_BEGIN
9
10
11class SourceLine;
12class Exception;
13class Test;
14
15/*! \brief Holds printable test result (DEPRECATED).
16 * \ingroup TrackingTestExecution
17 *
18 * deprecated Use class TextTestProgressListener and TextOutputter instead.
19 */
20class CPPUNIT_API TextTestResult : public TestResult,
21                                   public TestResultCollector
22{
23public:
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 */
32CPPUNIT_API OStream &operator <<( OStream &stream,
33                                  TextTestResult &result );
34
35CPPUNIT_NS_END
36
37#endif // CPPUNIT_TEXTTESTRESULT_H
38
39
Note: See TracBrowser for help on using the repository browser.