CCUnit: CCUnitTestRunner.c

CCUnit 2.1 A C Unit Testing Library

- メインページ
- 関連ページ
- モジュール
- データ構造
- ファイル

- ファイル一覧
- グローバル

全て データ構造 ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 グループ ページ
関数
CCUnitTestRunner.c

TestRunner module implementation. [詳細]

`#include <stdio.h>`
`#include <ccunit/CCUnitTestRunner.h>`
CCUnitTestRunner.cのインクルード依存関係図

## 関数
static void | startTest (CCUnitTestListener *listener, CCUnitTestFunc *test)
| receive startTest notification.
static void | endTest (CCUnitTestListener *listener, CCUnitTestFunc *test)
| receive endTest notification.
static void | addFailure (CCUnitTestListener *listener, CCUnitTestFailure *failure)
| receive addFailure notification.
static void | printHeader (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints the header of the report.
static void | printFailures (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints failures.
static void | print (CCUnitTestRunner *runner, CCUnitTestResult *result)
| Prints failures.
static int | doRun (CCUnitTestRunner *runner, CCUnitTestSuite *suite)
| Runs a single test and collects its results.
CCUnitTestRunner * | ccunit_newTestRunner (FILE *output)
| constructor.
void | ccunit_deleteTestRunner (CCUnitTestRunner *runner)
| destructor.
int | ccunit_runTestRunner (CCUnitTestRunner *runner, CCUnitTestSuite *suite)
| Runs test suite.
CCUnitTestResult * | ccunit_getResult (CCUnitTestRunner *runner)
| Get test result.

## 説明

TestRunner module implementation.

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