Menu

[r158]: / trunk / cppunit / include / cppunit / TestListener.h  Maximize  Restore  History

Download this file

32 lines (20 with data), 532 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef CPPUNIT_TESTLISTENER_H // -*- C++ -*-
#define CPPUNIT_TESTLISTENER_H
namespace CppUnit {
class Exception;
class Test;
/*! \brief A listener for test progress.
*
* \see TestResult
*/
class TestListener
{
public:
virtual ~TestListener() {}
virtual void startTest( Test *test ) {}
virtual void addError( Test *test, Exception *e ) {}
virtual void addFailure( Test *test, Exception *e ) {}
virtual void endTest( Test *test ) {}
};
} // namespace CppUnit
#endif // CPPUNIT_TESTLISTENER_H
MongoDB Logo MongoDB