Public Member Functions | Public Attributes
hayai::TestDescriptor Class Reference

Test descriptor. More...

#include <hayai_test_descriptor.hpp>

List of all members.

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.
TestFactoryFactory
 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.

Detailed Description

Test descriptor.

Definition at line 333 of file hayai_test_descriptor.hpp.


Constructor & Destructor Documentation

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.

Parameters:
fixtureNameName of the fixture.
testNameName of the test.
runsNumber of runs for the test.
iterationsNumber of iterations per run.
testFactoryTest factory implementation for the test.
parametersParametrized test parameters.

Definition at line 344 of file hayai_test_descriptor.hpp.

Dispose of a test descriptor.

Definition at line 365 of file hayai_test_descriptor.hpp.


Member Data Documentation

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.

Fixture name.

Definition at line 372 of file hayai_test_descriptor.hpp.

Disabled.

Definition at line 402 of file hayai_test_descriptor.hpp.

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.

Test runs.

Definition at line 386 of file hayai_test_descriptor.hpp.

Test name.

Definition at line 376 of file hayai_test_descriptor.hpp.


The documentation for this class was generated from the following file:


hayai
Author(s): Nick Bruun
autogenerated on Thu Jun 6 2019 18:13:44