CppUnit project page FAQ

BriefTestProgressListener.h
Go to the documentation of this file.
1 #ifndef CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
2 #define CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
3 
4 #include <cppunit/TestListener.h>
5 
6 
8 
9 
14 {
15 public:
19 
21  virtual ~BriefTestProgressListener();
22 
23  void startTest( Test *test );
24 
25  void addFailure( const TestFailure &failure );
26 
27  void endTest( Test *test );
28 
29 private:
32 
34  void operator =( const BriefTestProgressListener &copy );
35 
36 private:
38 };
39 
40 
42 
43 #endif // CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
#define CPPUNIT_API
Definition: CppUnitApi.h:27
#define CPPUNIT_NS_END
Definition: Portability.h:106
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
TestListener that prints the name of each test before running it.
Definition: BriefTestProgressListener.h:14
BriefTestProgressListener(const BriefTestProgressListener &copy)
Prevents the use of the copy constructor.
bool m_lastTestFailed
Definition: BriefTestProgressListener.h:37
Record of a failed Test execution.
Definition: TestFailure.h:25
Base class for all test objects.
Definition: Test.h:26
Listener for test progress and result.
Definition: TestListener.h:95
virtual void addFailure(const TestFailure &)
Called when a failure occurs while running a test.
Definition: TestListener.h:107
virtual void startTest(Test *)
Called when just before a TestCase is run.
Definition: TestListener.h:100
virtual void endTest(Test *)
Called just after a TestCase was run (even if a failure occured).
Definition: TestListener.h:110

Send comments to:
CppUnit Developers