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

Data Structures | Typedefs | Functions

# CCUnitTestSuite.h File Reference

TestSuite 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 CCUnitTestSuite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
struct | CCUnitTestSuite
| A `Composite` class of Tests. More...
struct | CCUnitTestSuiteDfn
## Typedefs
typedef struct CCUnitTestSuite | CCUnitTestSuite
| A `Composite` class of Tests.
typedef struct CCUnitTestSuiteDfn | CCUnitTestSuiteDfn
## Functions
CCUnitTestSuite * | ccunit_newTestSuite (const char *name)
| Constructs an empty TestSuite.
CCUnitTestSuite * | ccunit_newTestSuiteFromDfn (const CCUnitTestSuiteDfn *sdp)
| Constructs a TestSuite from definition struct.
void | ccunit_deleteTestSuite (CCUnitTestSuite *suite)
| Destructs test suite.
void | ccunit_addTest (CCUnitTestSuite *suite, CCUnitTest *test)
| Adds a test to the suite.
void | ccunit_addTestSuite (CCUnitTestSuite *suite, CCUnitTestSuite *testSuite)
| Adds a test suite to the suite.
void | ccunit_addTestCase (CCUnitTestSuite *suite, CCUnitTestCase *testCase)
| Adds a test case to the suite.
CCUnitTestResult * | ccunit_runTestSuite (CCUnitTestSuite *suite, CCUnitTestResult *result)
| run test suite and collect its results.
CCUnitTestSuite * | ccunit_suite (const char *name)
| Create a test suite from test source file.

## Detailed Description

TestSuite module.

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