CppUnit project page | FAQ

TextTestProgressListener.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_TEXTTESTPROGRESSLISTENER_H
2 #define CPPUNIT_TEXTTESTPROGRESSLISTENER_H
3
4 #include <cppunit/TestListener.h>
5
6
7 CPPUNIT_NS_BEGIN
8
9
14 class CPPUNIT_API TextTestProgressListener : public TestListener
15 {
16 public:
19 TextTestProgressListener();
20
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:
33 TextTestProgressListener( const TextTestProgressListener &copy );
34
36 void operator =( const TextTestProgressListener &copy );
37
38 private:
39 };
40
41
42 CPPUNIT_NS_END
43
44 #endif // CPPUNIT_TEXTTESTPROGRESSLISTENER_H
CPPUNIT_API
#define CPPUNIT_API
Definition: CppUnitApi.h:27
TextTestProgressListener::TextTestProgressListener
TextTestProgressListener(const TextTestProgressListener &copy)
Prevents the use of the copy constructor.
TestFailure
Record of a failed Test execution.
Definition: TestFailure.h:25
TestListener::addFailure
virtual void addFailure(const TestFailure &)
Called when a failure occurs while running a test.
Definition: TestListener.h:107
TestListener::endTestRun
virtual void endTestRun(Test *, TestResult *)
Called by a TestRunner after running the test.
Definition: TestListener.h:139
TestListener.h
CPPUNIT_NS_BEGIN
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
CPPUNIT_NS_END
#define CPPUNIT_NS_END
Definition: Portability.h:106
Test
Base class for all test objects.
Definition: Test.h:26
TestResult
Manages TestListener.
Definition: TestResult.h:48
TextTestProgressListener
TestListener that show the status of each TestCase test result.
Definition: TextTestProgressListener.h:15
TestListener::startTest
virtual void startTest(Test *)
Called when just before a TestCase is run.
Definition: TestListener.h:100
TestListener
Listener for test progress and result.
Definition: TestListener.h:95

| Send comments to: CppUnit Developers