#include <hayai_test_descriptor.hpp>
Public Member Functions | |
TestDescriptor (const char *fixtureName, const char *testName, std::size_t runs, std::size_t iterations, TestFactory *testFactory, TestParametersDescriptor parameters, bool isDisabled=false) | |
Initialize a new test descriptor. | |
~TestDescriptor () | |
Dispose of a test descriptor. | |
Public Attributes | |
std::string | CanonicalName |
Canonical name. | |
TestFactory * | Factory |
Test factory. | |
std::string | FixtureName |
Fixture name. | |
bool | IsDisabled |
Disabled. | |
std::size_t | Iterations |
Iterations per test run. | |
TestParametersDescriptor | Parameters |
Parameters for parametrized tests. | |
std::size_t | Runs |
Test runs. | |
std::string | TestName |
Test name. |
Test descriptor.
Definition at line 333 of file hayai_test_descriptor.hpp.
hayai::TestDescriptor::TestDescriptor | ( | const char * | fixtureName, |
const char * | testName, | ||
std::size_t | runs, | ||
std::size_t | iterations, | ||
TestFactory * | testFactory, | ||
TestParametersDescriptor | parameters, | ||
bool | isDisabled = false |
||
) | [inline] |
Initialize a new test descriptor.
fixtureName | Name of the fixture. |
testName | Name of the test. |
runs | Number of runs for the test. |
iterations | Number of iterations per run. |
testFactory | Test factory implementation for the test. |
parameters | Parametrized test parameters. |
Definition at line 344 of file hayai_test_descriptor.hpp.
hayai::TestDescriptor::~TestDescriptor | ( | ) | [inline] |
Dispose of a test descriptor.
Definition at line 365 of file hayai_test_descriptor.hpp.
std::string hayai::TestDescriptor::CanonicalName |
Canonical name.
As: <FixtureName>.<TestName>.
Definition at line 382 of file hayai_test_descriptor.hpp.
Test factory.
Definition at line 394 of file hayai_test_descriptor.hpp.
std::string hayai::TestDescriptor::FixtureName |
Fixture name.
Definition at line 372 of file hayai_test_descriptor.hpp.
Disabled.
Definition at line 402 of file hayai_test_descriptor.hpp.
std::size_t hayai::TestDescriptor::Iterations |
Iterations per test run.
Definition at line 390 of file hayai_test_descriptor.hpp.
Parameters for parametrized tests.
Definition at line 398 of file hayai_test_descriptor.hpp.
std::size_t hayai::TestDescriptor::Runs |
Test runs.
Definition at line 386 of file hayai_test_descriptor.hpp.
std::string hayai::TestDescriptor::TestName |
Test name.
Definition at line 376 of file hayai_test_descriptor.hpp.