24.02.1
|
Helper class to statically register a test case. More...
#include <Registrars.h>
Public Member Functions | |
TestCaseRegistrar (std::string test_name, DatasetMode mode, TestCaseFactory::Status status) | |
Add a new test case with the given name to the framework. More... | |
template<typename D > | |
TestCaseRegistrar (std::string test_name, DatasetMode mode, TestCaseFactory::Status status, D &&dataset) | |
Add a new data test case with the given name to the framework. More... | |
Helper class to statically register a test case.
Definition at line 43 of file Registrars.h.
|
inline |
Add a new test case with the given name to the framework.
[in] | test_name | Name of the test case. |
[in] | mode | Mode in which the test should be activated. |
[in] | status | Status of the test case. |
Definition at line 80 of file Registrars.h.
References Framework::add_test_case(), Framework::get(), and clang_tidy_rules::mode.
|
inline |
Add a new data test case with the given name to the framework.
[in] | test_name | Name of the test case. |
[in] | mode | Mode in which the test should be activated. |
[in] | status | Status of the test case. |
[in] | dataset | Dataset used as input for the test case. |
Definition at line 87 of file Registrars.h.
References Framework::add_data_test_case(), Framework::get(), and clang_tidy_rules::mode.