Medical Imaging Interaction Toolkit
2022.04.99-b2814023
Medical Imaging Interaction Toolkit
|
A test caller for parameterized tests. More...
#include <mitkTestCaller.h>
Public Member Functions | |
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 () override | |
void | runTest () override |
void | setUp () override |
void | tearDown () override |
std::string | toString () const |
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 33 of file mitkTestCaller.h.
|
inline |
Constructor for TestCaller. This constructor builds a new ParameterizedFixture instance owned by the TestCaller.
name | name of this TestCaller |
test | the method this TestCaller calls in runTest() |
Definition at line 44 of file mitkTestCaller.h.
References globalCmdLineArgs.
Referenced by mitk::TestCaller< ParameterizedFixture >::toString().
|
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.
name | name of this TestCaller |
test | the method this TestCaller calls in runTest() |
fixture | the Fixture to invoke the test method on. |
Definition at line 59 of file mitkTestCaller.h.
References globalCmdLineArgs.
|
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.
name | name of this TestCaller |
test | the method this TestCaller calls in runTest() |
fixture | the Fixture to invoke the test method on. |
Definition at line 74 of file mitkTestCaller.h.
References globalCmdLineArgs.
|
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.
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 90 of file mitkTestCaller.h.
|
inlineoverride |
Definition at line 99 of file mitkTestCaller.h.
|
inlineoverride |
Definition at line 105 of file mitkTestCaller.h.
|
inlineoverride |
Definition at line 106 of file mitkTestCaller.h.
|
inlineoverride |
Definition at line 107 of file mitkTestCaller.h.
|
inline |
Definition at line 108 of file mitkTestCaller.h.
References mitk::TestCaller< ParameterizedFixture >::TestCaller().