|
rippled
|
Holds the set of testcase results in a suite. More...
#include <results.h>


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 | |
| suite_results (std::string const &name="") | |
| std::string const & | name () const |
| Returns the name of this suite. | |
| std::size_t | total () const |
| Returns the total number of test conditions. | |
| std::size_t | failed () const |
| Returns the number of failures. | |
| bool | empty () const |
Returns true if the container is empty. | |
| size_type | size () const |
| Returns the number of items in the container. | |
| void | insert (case_results &&r) |
| Insert a set of testcase results. | |
| void | insert (case_results const &r) |
| 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< case_results > |
Private Attributes | |
| std::string | name_ |
| std::size_t | total_ = 0 |
| std::size_t | failed_ = 0 |
| 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.
|
explicit |
| std::string const & beast::unit_test::suite_results::name | ( | ) | const |
| std::size_t beast::unit_test::suite_results::total | ( | ) | const |
| std::size_t beast::unit_test::suite_results::failed | ( | ) | const |
| void beast::unit_test::suite_results::insert | ( | case_results && | r | ) |
| void beast::unit_test::suite_results::insert | ( | case_results const & | r | ) |
|
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 |
|
private |
|
private |
|
privateinherited |
Definition at line 22 of file const_container.h.