|
BitShift Validate 0.1.0
BitShift Validate API Reference Documentation
|
#include <bitshift/validate/reporting.hxx>
Public Member Functions | |
| ostream_reporter (ostream &os, bool show_file, bool show_line) | |
| ostream_reporter (ostream_reporter const &)=delete | |
| ostream_reporter (ostream_reporter &&)=delete | |
| ~ostream_reporter () noexcept override | |
| ostream & | output () |
| ostream_reporter & | operator= (ostream_reporter const &)=delete |
| ostream_reporter & | operator= (ostream_reporter &&)=delete |
| Public Member Functions inherited from bitshift::validate::reporter | |
| virtual | ~reporter () noexcept |
| proxy | log_setup (string const &file, int line) |
| proxy | log_teardown (string const &file, int line) |
| proxy | log_test_case (string const &name, string const &description, string const &file, int line) |
| proxy | log_failure (string message, string file, int line) |
| void | log_summary (uint16_t total, uint16_t ignored, uint16_t pass, uint16_t fail) |
Protected Member Functions | |
| void | do_log_setup (string const &file, int line, string const &detail) override |
| void | do_log_teardown (string const &file, int line, string const &detail) override |
| void | do_log_test_case (string const &name, string const &description, string const &file, int line, string const &detail) override |
| void | do_log_failure (string const &message, string const &file, int line, string const &detail) override |
| void | do_log_summary (uint16_t total, uint16_t ignored, uint16_t pass, uint16_t fail) override |
| Protected Member Functions inherited from bitshift::validate::reporter | |
| reporter () | |
| reporter (reporter const &)=delete | |
| reporter (reporter &&)=delete | |
| reporter & | operator= (reporter const &)=delete |
| reporter & | operator= (reporter &&)=delete |
Default ostream-based reporter.
| bitshift::validate::ostream_reporter::ostream_reporter | ( | ostream & | os, |
| bool | show_file, | ||
| bool | show_line ) |
Constructor.
| os | The output stream. |
| show_file | Include file information in output. |
| show_line | Include line information in output. |
|
delete |
Copy-construction is disabled.
|
delete |
Move-construction is disabled.
|
overridenoexcept |
Destructor.
| ostream & bitshift::validate::ostream_reporter::output | ( | ) |
Get a reference to the associated output stream.
|
delete |
Copy-assignment is disabled.
|
delete |
Move-assignment is disabled.
|
overrideprotectedvirtual |
Log test suite setup execution.
| file | The file in which the setup is defined. |
| line | The line on which the setup is defined. |
| detail | Extra details. |
Implements bitshift::validate::reporter.
|
overrideprotectedvirtual |
Log test suite teardown execution.
| file | The file in which the teardown is defined. |
| line | The line on which the teardown is defined. |
| detail | Extra details. |
Implements bitshift::validate::reporter.
|
overrideprotectedvirtual |
Log test case execution.
| name | The name of the test case. |
| description | A description of the test case. |
| file | The file in which the test case is defined. |
| line | The line on which the test case is defined. |
| detail | Extra details. |
Implements bitshift::validate::reporter.
|
overrideprotectedvirtual |
Log test case failure.
| message | A message describing the failure. |
| file | The file in which the failure occurred. |
| line | The line on which the error occurred. |
| detail | Extra details. |
Implements bitshift::validate::reporter.
|
overrideprotectedvirtual |
Log test suite summary.
| total | The total number of tests. |
| ignored | The total number of ignored tests. |
| pass | The total number of passed tests. |
| fail | The total number of failed tests. |
Implements bitshift::validate::reporter.