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

Data Structures | Typedefs | Functions

# TestSuite
[Test]

A `Composite` class of Tests. More...

Collaboration diagram for TestSuite:

## Data Structures
struct | CCUnitTestSuite
| A `Composite` class of Tests. More...
struct | CCUnitTestSuiteDfn
## Typedefs
typedef struct CCUnitTestSuiteDfn | CCUnitTestSuiteDfn
## Functions
static void | run (CCUnitTest *testSuite, CCUnitTestResult *result)
static void | destroy (CCUnitTest *test)
CCUnitTestSuite * | ccunit_newTestSuiteFromDfn (const CCUnitTestSuiteDfn *sdp)
| Constructs a TestSuite from definition struct.

## Detailed Description

A `Composite` class of Tests.

It runs a collection of test cases.

## Typedef Documentation

typedef struct CCUnitTestSuiteDfn CCUnitTestSuiteDfn

## Function Documentation

CCUnitTestSuite * ccunit_newTestSuiteFromDfn | ( | const CCUnitTestSuiteDfn * | sdp | ) |

Constructs a TestSuite from definition struct.

Parameters:

  | sdp | test suite definition.

Returns:
  new test suite.

static void destroy | ( | CCUnitTest * | test | ) | `[static]`

References ccunit_deleteList(), ccunit_deleteTest(), ccunitTypeSuite, name, safe_free, tests, and CCUnitTest::type.

Here is the call graph for this function:

static void run | ( | CCUnitTest * | testSuite,
|  | CCUnitTestResult * | result |
| ) |  |  | `[static]`

References ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeSuite, CCUnitTest::run, CCUnitTestResult::shouldStop, tests, and CCUnitTest::type.

Here is the call graph for this function:

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