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

Public Member Functions | |
| suite_info (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 | full_name () 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< (suite_info const &lhs, suite_info const &rhs) |
Associates a unit test type with metadata.
Definition at line 22 of file suite_info.h.
|
private |
Definition at line 24 of file suite_info.h.
| beast::unit_test::suite_info::suite_info | ( | std::string | name, |
| std::string | module, | ||
| std::string | library, | ||
| bool | manual, | ||
| int | priority, | ||
| run_type | run | ||
| ) |
Definition at line 34 of file suite_info.h.
| std::string const & beast::unit_test::suite_info::name | ( | ) | const |
Definition at line 51 of file suite_info.h.
| std::string const & beast::unit_test::suite_info::module | ( | ) | const |
Definition at line 57 of file suite_info.h.
| std::string const & beast::unit_test::suite_info::library | ( | ) | const |
Definition at line 63 of file suite_info.h.
| bool beast::unit_test::suite_info::manual | ( | ) | const |
Returns true if this suite only runs manually.
Definition at line 70 of file suite_info.h.
| std::string beast::unit_test::suite_info::full_name | ( | ) | const |
Return the canonical suite name as a string.
Definition at line 77 of file suite_info.h.
| void beast::unit_test::suite_info::run | ( | runner & | r | ) | const |
Run a new instance of the associated test suite.
Definition at line 84 of file suite_info.h.
|
friend |
Definition at line 89 of file suite_info.h.
|
private |
Definition at line 26 of file suite_info.h.
|
private |
Definition at line 27 of file suite_info.h.
|
private |
Definition at line 28 of file suite_info.h.
|
private |
Definition at line 29 of file suite_info.h.
|
private |
Definition at line 30 of file suite_info.h.
|
private |
Definition at line 31 of file suite_info.h.