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

Functions

# CCUnitTestSuite.c File Reference

TestSuite module implementation. More...

`#include <assert.h>`
`#include <ccunit/CCUnitTestSuite.h>`
`#include <ccunit/CCUnitTestResult.h>`
Include dependency graph for CCUnitTestSuite.c:

## Functions
static void | run (CCUnitTest *testSuite, CCUnitTestResult *result)
| Runs the test cases and collects their result in a TestResult.
static void | destroy (CCUnitTest *test)
| destruct test suite.
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_addTestFixture (CCUnitTestSuite *suite, CCUnitTestFixture *fixture)
| Adds a test fixture to the suite.
CCUnitTestResult * | ccunit_runTestSuite (CCUnitTestSuite *suite, CCUnitTestResult *result)
| run test suite and collect its results.

## Detailed Description

TestSuite module implementation.

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