|
rippled
|


Public Types | |
| using | value_type = typename cont_type::value_type |
| using | size_type = typename cont_type::size_type |
| using | difference_type = typename cont_type::difference_type |
| using | iterator = typename cont_type::const_iterator |
| using | const_iterator = typename cont_type::const_iterator |
Public Member Functions | |
| tests_t () | |
| std::size_t | total () const |
| Returns the total number of test conditions. | |
| std::size_t | failed () const |
| Returns the number of failed test conditions. | |
| void | pass () |
| Register a successful test condition. | |
| void | fail (std::string const &reason="") |
| Register a failed test condition. | |
| bool | empty () const |
Returns true if the container is empty. | |
| size_type | size () const |
| Returns the number of items in the container. | |
| const_iterator | begin () const |
| Returns forward iterators for traversal. | |
| const_iterator | cbegin () const |
| const_iterator | end () const |
| const_iterator | cend () const |
Protected Member Functions | |
| cont_type & | cont () |
| cont_type const & | cont () const |
Private Types | |
| using | cont_type = std::vector< test > |
Private Attributes | |
| std::size_t | failed_ |
| cont_type | m_cont |
|
privateinherited |
Definition at line 20 of file const_container.h.
|
inherited |
Definition at line 38 of file const_container.h.
|
inherited |
Definition at line 39 of file const_container.h.
|
inherited |
Definition at line 40 of file const_container.h.
|
inherited |
Definition at line 41 of file const_container.h.
|
inherited |
Definition at line 42 of file const_container.h.
| std::size_t beast::unit_test::case_results::tests_t::total | ( | ) | const |
| std::size_t beast::unit_test::case_results::tests_t::failed | ( | ) | const |
| void beast::unit_test::case_results::tests_t::pass | ( | ) |
| void beast::unit_test::case_results::tests_t::fail | ( | std::string const & | reason = "" | ) |
|
protectedinherited |
Definition at line 26 of file const_container.h.
|
protectedinherited |
Definition at line 32 of file const_container.h.
|
inherited |
Returns true if the container is empty.
Definition at line 46 of file const_container.h.
|
inherited |
Returns the number of items in the container.
Definition at line 53 of file const_container.h.
|
inherited |
Returns forward iterators for traversal.
Definition at line 61 of file const_container.h.
|
inherited |
Definition at line 67 of file const_container.h.
|
inherited |
Definition at line 73 of file const_container.h.
|
inherited |
Definition at line 79 of file const_container.h.
|
private |
|
privateinherited |
Definition at line 22 of file const_container.h.