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

データ構造 | 型定義 | 関数

# TestSuite
[Test]

A `Composite` class of Tests. [詳細]

TestSuiteのコラボレーション図

## データ構造
struct | CCUnitTestSuite
| A `Composite` class of Tests. [詳細]
struct | CCUnitTestSuiteDfn
## 型定義
typedef struct CCUnitTestSuiteDfn | CCUnitTestSuiteDfn
## 関数
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_newTestSuiteFromDfn (const CCUnitTestSuiteDfn *sdp)
| Constructs a TestSuite from definition struct.

## 説明

A `Composite` class of Tests.

It runs a collection of test cases.

## 型定義

typedef struct CCUnitTestSuiteDfn CCUnitTestSuiteDfn

## 関数

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

Constructs a TestSuite from definition struct.

引数:

  | sdp | test suite definition.

戻り値:
  new test suite.

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

destruct test suite.

引数:

  | test | destruct object.

参照先 ccunit_deleteList(), ccunit_deleteTest(), ccunitTypeSuite, name, safe_free, tests, と CCUnitTest::type.

関数の呼び出しグラフ:

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

Runs the test cases and collects their result in a TestResult.

引数:

  | testSuite | test suite.
  | result | result container.

参照先 ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeSuite, CCUnitTest::run, CCUnitTestResult::shouldStop, tests, と CCUnitTest::type.

関数の呼び出しグラフ:

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