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

CFIX_FIXTURE_ENTRY

CFIX_FIXTURE_ENTRY

Synopsis

Used to add a test case to the fixture. CFIX_FIXTURE_ENTRY may be used any number of times per fixture.

Use CfixPeGetValue to access any custom state information initialized by a before-routine.

Declaration
CFIX_FIXTURE_ENTRY( Routine )
				

Test routines must have the following signature. Specifying __stdcall is only required if /Gz is not used as compiler switch.

void __stdcall TestRoutine()
				
Requirements

Table 7.26. 

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