|
rippled
|

Public Member Functions | |
| testcase_t (suite &self) | |
| void | operator() (std::string const &name, abort_t abort=no_abort_on_fail) |
| Open a new testcase. | |
| scoped_testcase | operator() (abort_t abort) |
| template<class T > | |
| scoped_testcase | operator<< (T const &t) |
| template<class T > | |
| suite::scoped_testcase | operator<< (T const &t) |
Private Attributes | |
| suite & | suite_ |
| std::stringstream | ss_ |
|
explicit |
| void beast::unit_test::suite::testcase_t::operator() | ( | std::string const & | name, |
| abort_t | abort = no_abort_on_fail |
||
| ) |
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::scoped_testcase beast::unit_test::suite::testcase_t::operator() | ( | abort_t | abort | ) |
| scoped_testcase beast::unit_test::suite::testcase_t::operator<< | ( | T const & | t | ) |
| suite::scoped_testcase beast::unit_test::suite::testcase_t::operator<< | ( | T const & | t | ) |
|
private |