CCUnit 2.1 A C Unit Testing Library

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

全て データ構造 ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 グループ ページ
関数 | 変数
_PrintSuite
MakeSuite
_PrintSuiteのコラボレーション図

## 関数
static void | printPrototype (FILE *ofp, const char *type, _CCUnitFuncDef *fdef)
| print function prototype.
static void | printPrototypes (FILE *ofp, _CCUnitTestSuiteDef *suitedef)
| print test suite/test case prototypes.
static void | printTestFunc (FILE *ofp, _CCUnitFuncDef *fndef)
static void | printTestCase (FILE *ofp, _CCUnitTestCaseDef *tcdef)
| print test case adding function.
static void | printSuite (FILE *ofp, const char *name, _CCUnitTestSuiteDef *suite)
| print test suite adding function.
void | ccunit_printSuite (FILE *ofp, const char *name, _CCUnitTestSuiteDef *suite)
| output test suite making function code.

## 変数
static const char * | ccunitTypeNames []
| CCUnitTestType_t name string.

## 説明

## 関数

void ccunit_printSuite | ( | FILE * | ofp,
|  | const char * | name,
|  | _CCUnitTestSuiteDef * | suite
| ) |  |

output test suite making function code.

引数:

  ofp | output stream.
  name | add function name.
  suite | test suite to print.

参照先 _CCUnitTestDef::idname, printPrototypes(), printSuite(), と _CCUnitTestSuiteDef::testdef.

参照元 ccunit_makeSuite().

関数の呼び出しグラフ:

呼出しグラフ:

static void printPrototype | ( | FILE * | ofp,
|  | const char * | type,
|  | _CCUnitFuncDef * | fdef
| ) |  |
| static

print function prototype.

引数:

  ofp | output stream.
  type | function type; ctor, dtor, setUp, tearDown, testCase.
  fdef | funcdef object to print.

参照先 ccunit_log(), _CCUnitFuncDef::desc, _CCUnitFuncDef::name, _CCUnitFuncDef::scope, と _CCUnitFuncDef::type.

参照元 printPrototypes().

関数の呼び出しグラフ:

呼出しグラフ:

static void printPrototypes | ( | FILE * | ofp,
|  | _CCUnitTestSuiteDef * | suitedef
| ) |  |
| static

print test suite/test case prototypes.

引数:

  ofp | output stream.
  suitedef | test suite object to print.

参照先 ccunit_initListIterator(), ccunit_log(), ccunit_nextListIterator(), ccunitTypeSuite, ccunitTypeTestCase, _CCUnitTestDef::name, printPrototype(), _CCUnitTestCaseDef::testdef, _CCUnitTestSuiteDef::testdefs, _CCUnitTestCaseDef::testFuncs, と _CCUnitTestDef::type.

参照元 ccunit_printSuite().

関数の呼び出しグラフ:

呼出しグラフ:

static void printSuite | ( | FILE * | ofp,
|  | const char * | name,
|  | _CCUnitTestSuiteDef * | suite
| ) |  |
| static

print test suite adding function.

引数:

  ofp | output stream.
  name | function name.
  suite | test suite to print.

参照先 ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeNames, ccunitTypeSuite, ccunitTypeTestCase, _CCUnitTestDef::idname, _CCUnitTestDef::name, printTestCase(), _CCUnitTestSuiteDef::testdef, _CCUnitTestSuiteDef::testdefs, と _CCUnitTestDef::type.

参照元 ccunit_printSuite().

関数の呼び出しグラフ:

呼出しグラフ:

static void printTestCase | ( | FILE * | ofp,
|  | _CCUnitTestCaseDef * | tcdef
| ) |  |
| static

print test case adding function.

引数:

  ofp | output stream.
  tcdef | test case to print.

参照先 ccunit_initListIterator(), ccunit_nextListIterator(), ccunitTypeNames, _CCUnitTestDef::idname, _CCUnitTestDef::name, printTestFunc(), _CCUnitTestCaseDef::testdef, _CCUnitTestCaseDef::testFuncs, と _CCUnitTestDef::type.

参照元 printSuite().

関数の呼び出しグラフ:

呼出しグラフ:

static void printTestFunc | ( | FILE * | ofp,
|  | _CCUnitFuncDef * | fndef
| ) |  |
| inline static

参照先 _CCUnitFuncDef::desc, と _CCUnitFuncDef::name.

参照元 printTestCase().

呼出しグラフ:

## 変数

const char* ccunitTypeNames[]
| static

初期値:
{
"ccunitTypeTest",
"ccunitTypeSuite",
"ccunitTypeTestCase",
}

CCUnitTestType_t name string.

参照元 printSuite(), と printTestCase().

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