|
xrpld
|
Associates a unit test type with metadata. More...
#include <suite_info.h>

Public Member Functions | |
| SuiteInfo (std::string name, std::string module, std::string library, bool manual, int priority, run_type run) | |
| std::string const & | name () const |
| std::string const & | module () const |
| std::string const & | library () const |
| bool | manual () const |
| Returns true if this suite only runs manually. | |
| std::string | fullName () const |
| Return the canonical suite name as a string. | |
| void | run (Runner &r) const |
| Run a new instance of the associated test suite. | |
Private Types | |
| using | run_type = std::function<void(Runner&)> |
Private Attributes | |
| std::string | name_ |
| std::string | module_ |
| std::string | library_ |
| bool | manual_ |
| int | priority_ |
| run_type | run_ |
Friends | |
| bool | operator< (SuiteInfo const &lhs, SuiteInfo const &rhs) |
Associates a unit test type with metadata.
Definition at line 17 of file suite_info.h.
|
private |
Definition at line 19 of file suite_info.h.
| beast::unit_test::SuiteInfo::SuiteInfo | ( | std::string | name, |
| std::string | module, | ||
| std::string | library, | ||
| bool | manual, | ||
| int | priority, | ||
| run_type | run ) |
Definition at line 29 of file suite_info.h.
|
nodiscard |
Definition at line 46 of file suite_info.h.
|
nodiscard |
Definition at line 52 of file suite_info.h.
|
nodiscard |
Definition at line 58 of file suite_info.h.
|
nodiscard |
Returns true if this suite only runs manually.
Definition at line 65 of file suite_info.h.
|
nodiscard |
Return the canonical suite name as a string.
Definition at line 72 of file suite_info.h.
| void beast::unit_test::SuiteInfo::run | ( | Runner & | r | ) | const |
Run a new instance of the associated test suite.
Definition at line 79 of file suite_info.h.
Definition at line 84 of file suite_info.h.
|
private |
Definition at line 21 of file suite_info.h.
|
private |
Definition at line 22 of file suite_info.h.
|
private |
Definition at line 23 of file suite_info.h.
|
private |
Definition at line 24 of file suite_info.h.
|
private |
Definition at line 25 of file suite_info.h.
|
private |
Definition at line 26 of file suite_info.h.