24.02.1
|
Implementation of a test case factory to create data test cases. More...
#include <TestCaseFactory.h>
Public Member Functions | |
DataTestCaseFactory (std::string suite_name, std::string test_name, DatasetMode mode, Status status, std::string description, const D &data) | |
Constructor. More... | |
std::unique_ptr< TestCase > | make () const override |
Factory function to create the test case. More... | |
Public Member Functions inherited from TestCaseFactory | |
TestCaseFactory (std::string suite_name, std::string name, DatasetMode mode, Status status, std::string description="") | |
Constructor. More... | |
virtual | ~TestCaseFactory ()=default |
Default destructor. More... | |
std::string | name () const |
Name of the test case. More... | |
DatasetMode | mode () const |
Get the mode for which test case will be enabled. More... | |
Status | status () const |
Get the status of the test case. More... | |
Additional Inherited Members | |
Public Types inherited from TestCaseFactory | |
enum | Status { ACTIVE, EXPECTED_FAILURE, DISABLED } |
Test case status. More... | |
Implementation of a test case factory to create data test cases.
Definition at line 114 of file TestCaseFactory.h.
|
inline |
Constructor.
[in] | suite_name | Name of the test suite to which the test case has been added. |
[in] | test_name | Name of the test case. |
[in] | mode | Mode in which the test case is enabled. |
[in] | status | Status of the test case. |
[in] | description | Description of data arguments. |
[in] | data | Input data for the test case. |
Definition at line 189 of file TestCaseFactory.h.
References TestCaseFactory::mode(), and TestCaseFactory::status().
|
inlineoverridevirtual |
Factory function to create the test case.
Implements TestCaseFactory.
Definition at line 195 of file TestCaseFactory.h.