TestListener |
The class TestListener (see Figure C-25) defines an interface for observers to receive test progress notifications from a TestResult . The method TestResult::addListener( ) is used to register a TestListener .
TestListener belongs to the namespace CppUnit . It is declared in TestListener.h , which also provides its default empty implementation.
class TestListener
A destructor.
A method called to notify the TestListener that a failure has occurred. The argument failure is a temporary object that is deleted after the call.
A method called to notify the TestListener that test has ended.
A method called to notify the TestListener that test is about to be run.
None.
None.