CFIX_BEGIN_FIXTURE_EX
CFIX_BEGIN_FIXTURE_EX defines the start of a fixture definition. It is also used to specify the name of the fixture.
CFIX_BEGIN_FIXTURE_EX behaves like CFIX_BEGIN_FIXTURE, but additionally allows flags to be specified. Flags can be used to enable/disable certain features for this specific fixture.
See here for an example of a complete fixture definition.
CFIX_BEGIN_FIXTURE_EX( FixtureName, ULONG Flags )
![]() | Note |
---|---|
Do not put quotes around the fixture name. |
FixtureName: defines the name of the fixture. It must be unique across all fixtures of the same test module (i.e. DLL). The same restrictions as for naming routines apply, i.e. no spaces, no special characters etc.
Flags: Flags for enabling/disabling certain features. The following flags are currently availale:
Table 7.19.
Flag | Description |
---|---|
CFIX_FIXTURE_USES_ANONYMOUS_THREADS | Enable Anonymous Thread Auto-Registration for this fixture. |
If Flags is set to 0, CFIX_BEGIN_FIXTURE_EX is equivalent to
CFIX_BEGIN_FIXTURE.