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

Register a new test method that takes a reference to the fixture as argument.

Definizione alla linea 835 del file tests.h.

Referenzia radarelab::utils::tests::TestCase::add_method().

836  {
837  return TestCase::add_method(name, [=]() { test_function(*fixture); });
838  }
std::string name
Name of the test case.
Definition: tests.h:655
TestMethod & add_method(const std::string &name)
Register a new test method, with the actual test function to be added later.
Definition: tests.h:732