Visual Assert – The Unit Testing Add-In for Visual C++
cfix – C/C++ Unit Testing for Win32 and NT
 
 

CFIX_BEGIN_FIXTURE

CFIX_BEGIN_FIXTURE

Synopsis

CFIX_BEGIN_FIXTURE defines the start of a fixture definition. It is also used to specify the name of the fixture.

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.

See here for an example of a complete fixture definition.

Declaration
CFIX_BEGIN_FIXTURE( FixtureName )
				
[Note]Note
Do not put quotes around the fixture name.
Requirements

Table 7.18. 

 User ModeKernel Mode
Available since1.01.1
HeaderDeclared in cfix.hDeclared in cfix.h
IRQLN/ACalled at PASSIVE_LEVEL