UTPP
|
Abstract base for all reporters. More...
#include <utpp.h>
Public Member Functions | |
void | SetTrace (bool on_off) |
Controls test tracing feature. | |
virtual void | SuiteStart (const TestSuite &suite) |
Invoked at the beginning of a test suite. | |
virtual void | TestStart (const Test &test) |
Invoked at the beginning of a test. | |
virtual void | ReportFailure (const Failure &failure) |
Called when a test has failed. | |
virtual void | TestFinish (const Test &test) |
Invoked at the end of a test. | |
virtual int | SuiteFinish (const TestSuite &suite) |
Invoked at the end of a test suite. | |
virtual int | Summary () |
Generate results report. | |
virtual void | Clear () |
Reset all statistics. | |
Abstract base for all reporters.
|
inlinevirtual |
Reset all statistics.
Reimplemented in UnitTest::ReporterDeferred, and UnitTest::ReporterXml.
|
inlinevirtual |
Called when a test has failed.
Reimplemented in UnitTest::ReporterDbgout, UnitTest::ReporterDeferred, and UnitTest::ReporterStream.
|
inlinevirtual |
Invoked at the end of a test suite.
Reimplemented in UnitTest::ReporterDbgout, and UnitTest::ReporterStream.
|
inlinevirtual |
Invoked at the beginning of a test suite.
Records the beginning of a new test suite.
Reimplemented in UnitTest::ReporterDbgout, UnitTest::ReporterDeferred, and UnitTest::ReporterStream.
|
inlinevirtual |
Generate results report.
Reimplemented in UnitTest::ReporterDbgout, UnitTest::ReporterStream, and UnitTest::ReporterXml.
|
inlinevirtual |
Invoked at the end of a test.
Reimplemented in UnitTest::ReporterDbgout, UnitTest::ReporterDeferred, and UnitTest::ReporterStream.
|
inlinevirtual |
Invoked at the beginning of a test.
Reimplemented in UnitTest::ReporterDbgout, UnitTest::ReporterDeferred, and UnitTest::ReporterStream.