~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to lib/cppunit-1.10.0/include/cppunit/TextTestProgressListener.h

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

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