~ubuntu-branches/ubuntu/quantal/psi/quantal

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/TextTestResult.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2009-09-25 17:49:51 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090925174951-lvm7kdap82o8xhn3
Tags: 0.13-1
* Updated to upstream version 0.13
* Set Standards-Version to 3.8.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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