Imported Upstream version 2.81
[platform/upstream/libbullet.git] / UnitTests / cppunit / include / cppunit / TextTestProgressListener.h
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