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

◆ add_method() [2/3]

template<typename ... Args>
TestMethod & radarelab::utils::tests::TestCase::add_method ( const std::string & name,
const std::string & doc,
std::function< void()> test_function )
inline

Register a new test method, including documentation.

Definizione alla linea 618 del file tests.h.

619 {
620 methods.emplace_back(name, test_function);
621 methods.back().doc = doc;
622 return methods.back();
623 }
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.