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

Data Fields

# CCUnitTestSuite Struct Reference
[TestSuite, Creating TestSuite]

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

`#include <CCUnitTestSuite.h>`

Collaboration diagram for CCUnitTestSuite:
[legend]

## Data Fields
CCUnitTest | test
| super class
const char * | name
| test suite name
CCUnitList | tests
| added test case/suite list

## Detailed Description

A `Composite` class of Tests.

It runs a collection of test cases. Here is an example.

     CCUnitTestSuite* suite = ccunit_newTestSuite ();
     ccunit_addTestCase (suite, TESTCASE_1);
     ccunit_addTestCase (suite, TESTCASE_2);

See also:
  CCUnitTest, CCUnitTestCase.

## Field Documentation

const char* CCUnitTestSuite::name

test suite name

Referenced by destroy().

CCUnitTest CCUnitTestSuite::test

super class

CCUnitList CCUnitTestSuite::tests

added test case/suite list

Referenced by destroy(), and run().

The documentation for this struct was generated from the following file:

- CCUnitTestSuite.h

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