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


Public Types | |
| using | value_type |
| using | size_type |
| using | difference_type |
| using | iterator |
| using | const_iterator |
Public Member Functions | |
| SuiteResults (std::string 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 (CaseResults &&r) |
| Insert a set of testcase results. | |
| void | insert (CaseResults 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 () |
Private Types | |
| using | cont_type |
Private Attributes | |
| std::string | name_ |
| std::size_t | total_ = 0 |
| std::size_t | failed_ = 0 |
| cont_type | cont_ |
|
privateinherited |
Definition at line 17 of file const_container.h.
|
inherited |
Definition at line 35 of file const_container.h.
|
inherited |
Definition at line 36 of file const_container.h.
|
inherited |
Definition at line 37 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.
|
explicit |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void beast::unit_test::SuiteResults::insert | ( | CaseResults && | r | ) |
| void beast::unit_test::SuiteResults::insert | ( | CaseResults const & | r | ) |
|
protectedinherited |
Definition at line 23 of file const_container.h.
|
nodiscardinherited |
Returns true if the container is empty.
Definition at line 43 of file const_container.h.
|
nodiscardinherited |
Returns the number of items in the container.
Definition at line 50 of file const_container.h.
|
nodiscardinherited |
Returns forward iterators for traversal.
Definition at line 58 of file const_container.h.
|
nodiscardinherited |
Definition at line 64 of file const_container.h.
|
nodiscardinherited |
Definition at line 70 of file const_container.h.
|
nodiscardinherited |
Definition at line 76 of file const_container.h.
|
private |
|
private |
|
private |
|
privateinherited |
Definition at line 19 of file const_container.h.