|
rippled
|
Holds the results of running a set of testsuites. 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 | |
| results () | |
| std::size_t | cases () const |
| Returns the total number of test cases. | |
| 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 (suite_results &&r) |
| Insert a set of suite results. | |
| void | insert (suite_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< suite_results > |
Private Attributes | |
| std::size_t | m_cases |
| std::size_t | total_ |
| 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::results::cases | ( | ) | const |
| std::size_t beast::unit_test::results::total | ( | ) | const |
| std::size_t beast::unit_test::results::failed | ( | ) | const |
| void beast::unit_test::results::insert | ( | suite_results && | r | ) |
| void beast::unit_test::results::insert | ( | suite_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.