#include <Assertion.hpp>
TestReport object is used to record the test results.
It outputs the report to the console, unless it is set in silent mode.
Definition at line 147 of file Assertion.hpp.
Public Member Functions | |
| TestReport (bool silent=false) | |
Constructs a TestReport object, set in silent mode if the silent parameter is true. | |
| ~TestReport () | |
| destructor | |
| void | startTest () |
| Called by the test runner each time it is going to run a test. | |
| void | ignoreTest () |
| Called by the test runner each time is marked as muted (ignore). | |
| void | endSuccess () |
| Called by the test runner each time a test succeeded. | |
| void | endFailure (string msg) |
| Called by the test runner each time a test failed. | |
| void | endError (string msg) |
| Called by the test runner each time a test provokes an unexpected error. | |
| void | print () |
| Prints out the test report. | |
|
|
Constructs a
Definition at line 79 of file Assertion.cpp. |
|
|
Called by the test runner each time a test provokes an unexpected error.
Definition at line 128 of file Assertion.cpp. Referenced by unittest::TestSet::execute(). |
|
|
Called by the test runner each time a test failed.
Definition at line 117 of file Assertion.cpp. Referenced by unittest::TestSet::execute(). |
1.4.6-NO