|
BitShift Validate 0.1.0
BitShift Validate API Reference Documentation
|
#include <bitshift/validate/reporting.hxx>
Public Member Functions | |
| 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 | |
| reporter () | |
| reporter (reporter const &)=delete | |
| reporter (reporter &&)=delete | |
| virtual void | do_log_setup (string const &file, int line, string const &detail)=0 |
| virtual void | do_log_teardown (string const &file, int line, string const &detail)=0 |
| virtual void | do_log_test_case (string const &name, string const &description, string const &file, int line, string const &detail)=0 |
| virtual void | do_log_failure (string const &message, string const &file, int line, string const &detail)=0 |
| virtual void | do_log_summary (uint16_t total, uint16_t ignored, uint16_t pass, uint16_t fail)=0 |
| reporter & | operator= (reporter const &)=delete |
| reporter & | operator= (reporter &&)=delete |
Abstract test suite reporter.
|
virtualnoexcept |
Destructor.
|
protected |
Constructor.
|
protecteddelete |
Copy-construction is disabled.
|
protecteddelete |
Move-construction is disabled.
| reporter::proxy bitshift::validate::reporter::log_setup | ( | string const & | file, |
| int | line ) |
Log test suite setup execution.
| file | The file in which the setup is defined. |
| line | The line on which the setup is defined. |
| reporter::proxy bitshift::validate::reporter::log_teardown | ( | string const & | file, |
| int | line ) |
Log test suite teardown execution.
| file | The file in which the teardown is defined. |
| line | The line on which the teardown is defined. |
| reporter::proxy bitshift::validate::reporter::log_test_case | ( | string const & | name, |
| string const & | description, | ||
| string const & | file, | ||
| int | line ) |
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. |
| reporter::proxy bitshift::validate::reporter::log_failure | ( | string | message, |
| string | file, | ||
| int | line ) |
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. |
| void bitshift::validate::reporter::log_summary | ( | uint16_t | total, |
| uint16_t | ignored, | ||
| uint16_t | pass, | ||
| uint16_t | fail ) |
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. |
|
protectedpure virtual |
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. |
Implemented in bitshift::validate::ostream_reporter, and bitshift::validate::quiet_reporter.
|
protectedpure virtual |
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. |
Implemented in bitshift::validate::ostream_reporter, and bitshift::validate::quiet_reporter.
|
protectedpure virtual |
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. |
Implemented in bitshift::validate::ostream_reporter, and bitshift::validate::quiet_reporter.
|
protectedpure virtual |
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. |
Implemented in bitshift::validate::ostream_reporter, and bitshift::validate::quiet_reporter.
|
protectedpure virtual |
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. |
Implemented in bitshift::validate::ostream_reporter, and bitshift::validate::quiet_reporter.
Copy-construction is disabled.