Elaboradar 0.1
Caricamento in corso...
Ricerca in corso...
Nessun risultato

◆ add_method() [3/3]

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 608 del file tests.h.

609 {
610 methods.emplace_back(name, test_function);
611 return methods.back();
612 }
std::vector< TestMethod > methods
All registered test methods.
Definition: tests.h:528
std::string name
Name of the test case.
Definition: tests.h:525

Referenzia methods, e name.