1
#ifndef CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
2
#define CPPUNIT_BRIEFTESTPROGRESSLISTENER_H
4
#include <cppunit/TestListener.h>
10
/*! \brief TestListener that prints the name of each test before running it.
11
* \ingroup TrackingTestExecution
13
class CPPUNIT_API BriefTestProgressListener : public TestListener
16
/*! Constructs a BriefTestProgressListener object.
18
BriefTestProgressListener();
21
virtual ~BriefTestProgressListener();
23
void startTest( Test *test );
25
void addFailure( const TestFailure &failure );
27
void endTest( Test *test );
30
/// Prevents the use of the copy constructor.
31
BriefTestProgressListener( const BriefTestProgressListener © );
33
/// Prevents the use of the copy operator.
34
void operator =( const BriefTestProgressListener © );
37
bool m_lastTestFailed;
43
#endif // CPPUNIT_BRIEFTESTPROGRESSLISTENER_H