TextTestProgressListener |
The class TextTestProgressListener (see Figure C-35) is a subclass of TestListener . It prints a textual "progress bar" indicating the progress of a series of tests as they are run. A sample of its output is shown here:
....F...E...
This shows that 10 tests were run, and 1 failure and 1 error occurred.
TextTestProgressListener belongs to the namespace CppUnit . It is declared in TextTestProgressListener.h and implemented in TextTestProgressListener.cpp .
class TextTestProgressListener : public TestListener
A constructor.
A destructor.
A method that informs TextTestProgressListener of a TestFailure . If the TestFailure is an assertion failure, an F is printed; otherwise , an E is printed.
Prints a carriage return and flushes the output stream to complete the output.
A method that informs TextTestProgressListener that a Test is about to be run. A period ( .) is printed to indicate progress.
A copy constructor, scoped private to prevent its use.
A copy operator, scoped private to prevent its use.
None.