[ CCUnit project page ] |  | [ CCUnit home page ]

Data Structures | Typedefs | Functions

# CCUnitTestFixture.h File Reference

TestFixture module. More...

`#include <ccunit/CCUnitConfig.h>`
`#include <ccunit/CCUnitList.h>`
`#include <ccunit/CCUnitTest.h>`
`#include <ccunit/CCUnitTestCase.h>`
`#include <ccunit/CCUnitTestResult.h>`
Include dependency graph for CCUnitTestFixture.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | CCUnitTestFixture
| Wraps a test case with setUp and tearDown function. More...
struct | CCUnitTestFixtureDfn
| TestFixture definition structure. More...
## Typedefs
typedef struct CCUnitTestFixture | CCUnitTestFixture
| Wraps a test case with setUp and tearDown function.
typedef struct CCUnitTestFixtureDfn | CCUnitTestFixtureDfn
| TestFixture definition structure.
## Functions
CCUnitTestFixture * | ccunit_newTestFixture (const char *name, CCUnitTestFunc *setUp, CCUnitTestFunc *tearDown)
| create new test fixture.
void | ccunit_setTestFixtureSetup (CCUnitTestFixture *fixture, CCUnitTestFunc *setup_setUp, CCUnitTestFunc *setup_tearDown)
| set test fixture setup functions.
void | ccunit_addTestCase (CCUnitTestFixture *fixture, CCUnitTestCase *testCase)
| add test case to test fixture.
CCUnitTestCase * | ccunit_addNewTestCase (CCUnitTestFixture *fixture, const char *name, const char *desc, void(*runTest)())
| add new test case to test fixture.
struct CCUnitTestResult * | ccunit_runTestFixture (CCUnitTestFixture *f)
| run test cases and collect its results.

## Detailed Description

TestFixture module.

| hosts this site. |  | Send comments to: CCUnit Developer |