Elaboradar  0.1
 Tutto Classi Namespace File Funzioni Variabili Tipi enumerati (enum) Gruppi
template<typename... Args>
TestMethod& radarelab::utils::tests::TestCase::add_method ( const std::string &  name,
std::function< void()>  test_function 
)
inline

Register a new test method.

Definizione alla linea 742 del file tests.h.

Referenzia methods.

743  {
744  methods.emplace_back(name, test_function);
745  return methods.back();
746  }
std::vector< TestMethod > methods
All registered test methods.
Definition: tests.h:658
std::string name
Name of the test case.
Definition: tests.h:655