~ubuntu-branches/ubuntu/oneiric/psi/oneiric

« back to all changes in this revision

Viewing changes to third-party/cppunit/cppunit/include/cppunit/TextTestProgressListener.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_TEXTTESTPROGRESSLISTENER_H
2
 
#define CPPUNIT_TEXTTESTPROGRESSLISTENER_H
3
 
 
4
 
#include <cppunit/TestListener.h>
5
 
 
6
 
 
7
 
CPPUNIT_NS_BEGIN
8
 
 
9
 
 
10
 
/*! 
11
 
 * \brief TestListener that show the status of each TestCase test result.
12
 
 * \ingroup TrackingTestExecution
13
 
 */
14
 
class CPPUNIT_API TextTestProgressListener : public TestListener
15
 
{
16
 
public:
17
 
  /*! Constructs a TextTestProgressListener object.
18
 
   */
19
 
  TextTestProgressListener();
20
 
 
21
 
  /// Destructor.
22
 
  virtual ~TextTestProgressListener();
23
 
 
24
 
  void startTest( Test *test );
25
 
 
26
 
  void addFailure( const TestFailure &failure );
27
 
 
28
 
  void endTestRun( Test *test, 
29
 
                   TestResult *eventManager );
30
 
 
31
 
private:
32
 
  /// Prevents the use of the copy constructor.
33
 
  TextTestProgressListener( const TextTestProgressListener &copy );
34
 
 
35
 
  /// Prevents the use of the copy operator.
36
 
  void operator =( const TextTestProgressListener &copy );
37
 
 
38
 
private:
39
 
};
40
 
 
41
 
 
42
 
CPPUNIT_NS_END
43
 
 
44
 
#endif  // CPPUNIT_TEXTTESTPROGRESSLISTENER_H