![]() |
UTPP
|
A Reporter that sends messages to debug output. More...
#include <reporter_dbgout.h>
Protected Member Functions | |
| 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 |
Additional Inherited Members | |
Public Member Functions inherited from UnitTest::Reporter | |
| void | SetTrace (bool on_off) |
| Controls test tracing feature. | |
| virtual void | Clear () |
| Reset all statistics. | |
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 | |
A Reporter that sends messages to debug output.
|
inlineoverrideprotectedvirtual |
Output to debug output a failure message. If a test is in progress (the normal case) the message includes the name of the test and suite.
| failure | - the failure information (filename, line number and message) |
Reimplemented from UnitTest::Reporter.
|
inlineoverrideprotectedvirtual |
If tracing is enabled, show a suite finish message.
Reimplemented from UnitTest::Reporter.
|
inlineoverrideprotectedvirtual |
If tracing is enabled, show a suite start message.
Reimplemented from UnitTest::Reporter.
|
inlineoverrideprotectedvirtual |
Prints a test run summary including number of tests, number of failures, running time, etc.
Reimplemented from UnitTest::Reporter.
|
inlineoverrideprotectedvirtual |
If tracing is enabled, show a test finish message.
Reimplemented from UnitTest::Reporter.
|
inlineoverrideprotectedvirtual |
If tracing is enabled, show a test start message.
Reimplemented from UnitTest::Reporter.