~ubuntu-branches/ubuntu/karmic/psi/karmic

« 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: 2008-08-28 18:46:52 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20080828184652-iiik12dl91nq7cdi
Tags: 0.12-2
Uploading to unstable (Closes: Bug#494352)

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