source: trunk/contrib/cppunit-1.12.2/include/cppunit/TextTestProgressListener.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: 951 bytes
Line 
1#ifndef CPPUNIT_TEXTTESTPROGRESSLISTENER_H
2#define CPPUNIT_TEXTTESTPROGRESSLISTENER_H
3
4#include <cppunit/TestListener.h>
5
6
7CPPUNIT_NS_BEGIN
8
9
10/*!
11 * \brief TestListener that show the status of each TestCase test result.
12 * \ingroup TrackingTestExecution
13 */
14class CPPUNIT_API TextTestProgressListener : public TestListener
15{
16public:
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
31private:
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
38private:
39};
40
41
42CPPUNIT_NS_END
43
44#endif  // CPPUNIT_TEXTTESTPROGRESSLISTENER_H
Note: See TracBrowser for help on using the repository browser.