|
xrpld
|
Holds the results of running a set of testsuites. More...
#include <results.h>


Public Types | |
| using | value_type |
| using | size_type |
| using | difference_type |
| using | iterator |
| using | const_iterator |
Public Member Functions | |
| Results ()=default | |
| 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 (SuiteResults &&r) |
| Insert a set of suite results. | |
| void | insert (SuiteResults 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::size_t | cases_ {0} |
| 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.
|
default |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void beast::unit_test::Results::insert | ( | SuiteResults && | r | ) |
| void beast::unit_test::Results::insert | ( | SuiteResults 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.