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

データ構造 | 関数

# TestResult
[モジュール階層]

Collects the results of a test case module. [詳細]

TestResultのコラボレーション図

## データ構造
struct | CCUnitTestResult
| Collects the results of a test case. [詳細]
## 関数
void | _ccunit_runBare (CCUnitTestCase *testCase, void(*runTest)(), CCUnitTestResult *result)
void | _ccunit_startTest (CCUnitTestResult *result, struct CCUnitTestFunc *test)
| Informs the result that a test will be started.
void | _ccunit_endTest (CCUnitTestResult *result, struct CCUnitTestFunc *test)
| Informs the result that a test was completed.

## 説明

Collects the results of a test case module.

This module use a CCUnitTestListener to be informed of the ongoing tests.

参照:
  CCUnitTest, CCUnitTestListener.

## 関数

void _ccunit_endTest | ( | CCUnitTestResult * | result,
|  | struct CCUnitTestFunc * | test |
| ) |  |  |

Informs the result that a test was completed.

参照先 ccunit_initListIterator(), ccunit_nextListIterator(), CCUnitTestListener::endTest, と listeners.

参照元 run().

関数の呼び出しグラフ:

呼出しグラフ:

void _ccunit_runBare | ( | CCUnitTestCase * | testCase,
|  | void(*)() | runTest,
|  | CCUnitTestResult * | result |
| ) |  |  |

void _ccunit_startTest | ( | CCUnitTestResult * | result,
|  | struct CCUnitTestFunc * | test |
| ) |  |  |

Informs the result that a test will be started.

参照先 ccunit_initListIterator(), ccunit_nextListIterator(), listeners, と CCUnitTestListener::startTest.

参照元 run().

関数の呼び出しグラフ:

呼出しグラフ:

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