A test caller for parameterized tests.
More...
#include <mitkTestCaller.h>
|
| TestCaller (const std::string &name, TestMethod test) |
|
| TestCaller (const std::string &name, TestMethod test, ParameterizedFixture &fixture) |
|
| TestCaller (const std::string &name, TestMethod test, ParameterizedFixture *fixture) |
|
| TestCaller (const std::string &name, TestMethod test, ParameterizedFixture *fixture, const std::vector< std::string > ¶m) |
|
| ~TestCaller () |
|
void | runTest () override |
|
void | setUp () override |
|
void | tearDown () override |
|
std::string | toString () const |
|
template<class ParameterizedFixture>
class mitk::TestCaller< ParameterizedFixture >
A test caller for parameterized tests.
This class is not meant to be used directly. Use the mitk::TestFixture class and MITK_PARAMETERIZED_TEST instead.
Definition at line 37 of file mitkTestCaller.h.
template<class ParameterizedFixture >
template<class ParameterizedFixture >
mitk::TestCaller< ParameterizedFixture >::TestCaller |
( |
const std::string & |
name, |
|
|
TestMethod |
test, |
|
|
ParameterizedFixture & |
fixture |
|
) |
| |
|
inline |
Constructor for TestCaller. This constructor does not create a new ParameterizedFixture instance but accepts an existing one as parameter. The TestCaller will not own the ParameterizedFixture object.
- Parameters
-
Definition at line 63 of file mitkTestCaller.h.
References globalCmdLineArgs.
template<class ParameterizedFixture >
mitk::TestCaller< ParameterizedFixture >::TestCaller |
( |
const std::string & |
name, |
|
|
TestMethod |
test, |
|
|
ParameterizedFixture * |
fixture |
|
) |
| |
|
inline |
Constructor for TestCaller. This constructor does not create a new ParameterizedFixture instance but accepts an existing one as parameter. The TestCaller will own the ParameterizedFixture object and delete it in its destructor.
- Parameters
-
Definition at line 78 of file mitkTestCaller.h.
References globalCmdLineArgs.
template<class ParameterizedFixture >
mitk::TestCaller< ParameterizedFixture >::TestCaller |
( |
const std::string & |
name, |
|
|
TestMethod |
test, |
|
|
ParameterizedFixture * |
fixture, |
|
|
const std::vector< std::string > & |
param |
|
) |
| |
|
inline |
Constructor for TestCaller. This constructor does not create a new ParameterizedFixture instance but accepts an existing one as parameter. The TestCaller will own the ParameterizedFixture object and delete it in its destructor.
- Parameters
-
name | name of this TestCaller |
test | the method this TestCaller calls in runTest() |
fixture | the Fixture to invoke the test method on. |
param | A list of string parameters for the fixture. |
Definition at line 94 of file mitkTestCaller.h.
template<class ParameterizedFixture >
template<class ParameterizedFixture >
template<class ParameterizedFixture >
template<class ParameterizedFixture >
template<class ParameterizedFixture >
The documentation for this class was generated from the following file: