CCUnit project page CCUnit home page

Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

_PrintSuite
[MakeSuite]


Functions

void printPrototype (FILE *ofp, const char *type, _CCUnitFuncDef *fdef)
 print function prototype.

void printPrototypes (FILE *ofp, _CCUnitTestSuiteDef *suitedef)
 print test suite/fixture prototypes.

void printTestFunc (FILE *ofp, _CCUnitFuncDef *fndef)
void printFixture (FILE *ofp, _CCUnitTestFixtureDef *fxdef)
 print test fixture adding function.

void printSuite (FILE *ofp, const char *name, _CCUnitTestSuiteDef *suite)
 print test suite adding function.

void ccunit_printSuite (FILE *ofp, const char *name, _CCUnitTestSuiteDef *suite)
 output test suite making function code.


Variables

const char * ccunitTypeNames []
 CCUnitTestType_t name string.


Function Documentation

void ccunit_printSuite FILE *  ofp,
const char *  name,
_CCUnitTestSuiteDef suite
 

output test suite making function code.

Parameters:
ofp output stream.
name add function name.
suite test suite to print.

void printFixture FILE *  ofp,
_CCUnitTestFixtureDef fxdef
[static]
 

print test fixture adding function.

Parameters:
ofp output stream.
fxdef test suite to print.

void printPrototype FILE *  ofp,
const char *  type,
_CCUnitFuncDef fdef
[static]
 

print function prototype.

Parameters:
ofp output stream.
type function type; ctor, dtor, setUp, tearDown, testCase.
fdef funcdef object to print.

void printPrototypes FILE *  ofp,
_CCUnitTestSuiteDef suitedef
[static]
 

print test suite/fixture prototypes.

Parameters:
ofp output stream.
suitedef test suite object to print.

void printSuite FILE *  ofp,
const char *  name,
_CCUnitTestSuiteDef suite
[static]
 

print test suite adding function.

Parameters:
ofp output stream.
name function name.
suite test suite to print.

void printTestFunc FILE *  ofp,
_CCUnitFuncDef fndef
[inline, static]
 


Variable Documentation

const char* ccunitTypeNames[] [static]
 

Initial value:

 {
  "ccunitTypeTest",                             
  "ccunitTypeSuite",                            
  "ccunitTypeFixture",                          
  "ccunitTypeCase",                             
}
CCUnitTestType_t name string.


SourceForge.jp hosts this site. Send comments to:
CCUnit Developer