![]() |
UTPP
|
#include <reporter_stream.h>
Additional Inherited Members | |
Public Member Functions inherited from UnitTest::ReporterStream | |
| ReporterStream (std::ostream &strm=std::cout) | |
Public Member Functions inherited from UnitTest::Reporter | |
| void | SetTrace (bool on_off) |
| Controls test tracing feature. | |
| virtual void | Clear () |
| Reset all statistics. | |
Protected Member Functions inherited from UnitTest::ReporterStream | |
| void | SuiteStart (const TestSuite &suite) override |
| If tracing is enabled, show a suite start message. | |
| void | TestStart (const Test &test) override |
| If tracing is enabled, show a test start message. | |
| void | TestFinish (const Test &test) override |
| If tracing is enabled, show a test finish message. | |
| int | SuiteFinish (const TestSuite &suite) override |
| If tracing is enabled, show a suite finish message. | |
| void | ReportFailure (const Failure &failure) override |
| int | Summary () override |
Protected Attributes inherited from UnitTest::ReporterStream | |
| std::ostream & | out |
Protected Attributes inherited from UnitTest::Reporter | |
| int | suite_test_count |
| number of tests in suite | |
| int | suite_failed_count |
| number of failed tests in suite | |
| int | suite_failures_count |
| number of failures in suite | |
| std::chrono::milliseconds | suite_time |
| total suite running time in milliseconds | |
| int | total_test_count |
| total number of tests | |
| int | total_failed_count |
| total number of failed tests | |
| int | total_failures_count |
| total number of failures | |
| std::chrono::milliseconds | total_time |
| total running time in milliseconds | |
| int | suites_count |
| number of suites ran | |
| bool | trace |
| true if tracing is enabled | |
This is only for compatibility with previous version.
New code should use ReporterStream