CCUnit project page CCUnit home page

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

Test
[Module hierarchy]


Detailed Description

Test interface module.


Modules

TestFixture
 A test fixture defines the fixture to run multiple tests.

TestSuite
 A Composite class of Tests.


Data Structures

struct  CCUnitTest
 Run Test and collect its results. More...

struct  CCUnitTestDfn

Typedefs

typedef CCUnitTestDfn CCUnitTestDfn

Functions

CCUnitTestccunit_initTest (CCUnitTest *test, CCUnitTestType_t type, void(*run)(CCUnitTest *, struct CCUnitTestResult *), void(*dtor)(CCUnitTest *))
 Initialize Test class.

void ccunit_deleteTest (CCUnitTest *dt)
 Test class destructor.


Typedef Documentation

typedef struct CCUnitTestDfn CCUnitTestDfn
 


Function Documentation

void ccunit_deleteTest CCUnitTest test  ) 
 

Test class destructor.

Parameters:
test test object to delete.

CCUnitTest* ccunit_initTest CCUnitTest test,
CCUnitTestType_t  type,
void(*  run)(CCUnitTest *, struct CCUnitTestResult *),
void(*  dtor)(CCUnitTest *)
 

Initialize Test class.

Parameters:
test test object to initialize.
type test type.
run run test function.
dtor destructor.
Returns:
initialized test object.

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