|
xrpld
|

Public Member Functions | |
| TestcaseT (Suite &self) | |
| void | operator() (std::string const &name, AbortT abort=AbortT::NoAbortOnFail) |
| Open a new testcase. | |
| ScopedTestcase | operator() (AbortT abort) |
| template<class T> | |
| ScopedTestcase | operator<< (T const &t) |
| template<class T> | |
| Suite::ScopedTestcase | operator<< (T const &t) |
Private Attributes | |
| Suite & | suite_ |
| std::stringstream | ss_ |
|
explicit |
| void beast::unit_test::Suite::TestcaseT::operator() | ( | std::string const & | name, |
| AbortT | abort = AbortT::NoAbortOnFail ) |
Open a new testcase.
A testcase is a series of evaluated test conditions. A test suite may have multiple test cases. A test is associated with the last opened testcase. When the test first runs, a default unnamed case is opened. Tests with only one case may omit the call to testcase.
| abort | Determines if suite continues running after a failure. |
| Suite::ScopedTestcase beast::unit_test::Suite::TestcaseT::operator() | ( | AbortT | abort | ) |
| ScopedTestcase beast::unit_test::Suite::TestcaseT::operator<< | ( | T const & | t | ) |
| Suite::ScopedTestcase beast::unit_test::Suite::TestcaseT::operator<< | ( | T const & | t | ) |
|
private |