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,
const std::string &  doc,
std::function< void()>  test_function 
)
inline

Register a new test method, including documentation.

Definizione alla linea 752 del file tests.h.

Referenzia methods.

753  {
754  methods.emplace_back(name, test_function);
755  methods.back().doc = doc;
756  return methods.back();
757  }
std::vector< TestMethod > methods
All registered test methods.
Definition: tests.h:658
std::string name
Name of the test case.
Definition: tests.h:655