CCUnit 2.1 A C Unit Testing Library

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

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

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

ReadSuite module implementation. [詳細]

`#include <ccunit/CCUnitMakeSuite.h>`
`#include <ccunit/CCUnitLogMessage.h>`
`#include <ctype.h>`
`#include <errno.h>`
CCUnitReadSuite.cのインクルード依存関係図

## データ構造
struct | _CCUnitLine
| Read line. [詳細]

## 関数
static void | readSuite (_CCUnitTestSuiteDef *suite)
| read test suite def.
static void | destroyTestDef (_CCUnitTestDef *test)
| destroy test def.
static _CCUnitTestDef * | initTestDef (_CCUnitTestDef *test, CCUnitTestType_t type, const char *name)
| init test def.
static void | deleteTestDef (_CCUnitTestDef *test)
| delete test def.
static void | destroyTestSuiteDef (_CCUnitTestSuiteDef *suite)
| destroy test suite def.
_CCUnitTestSuiteDef * | ccunit_newTestSuiteDef (const char *name)
| create new test suite def.
void | ccunit_deleteTestSuiteDef (_CCUnitTestSuiteDef *suite)
| delete test suite def.
static _CCUnitTestDef * | addTestDef (_CCUnitTestSuiteDef *suite, _CCUnitTestDef *test)
| add test to test suite.
static _CCUnitTestDef * | addTestSuiteDef (_CCUnitTestSuiteDef *suite, _CCUnitTestSuiteDef *test)
| add test suite to test suite.
static _CCUnitTestDef * | addTestCaseDef (_CCUnitTestSuiteDef *suite, _CCUnitTestCaseDef *test)
| add test case to test suite.
static _CCUnitFuncDef * | newFuncDef (const char *scope, const char *type, const char *name, const char *desc)
| create new test func.
static void | deleteFuncDef (_CCUnitFuncDef *func)
| delete test func def.
static void | destroyTestCaseDef (_CCUnitTestCaseDef *testCase)
| destroy test case def.
static _CCUnitTestCaseDef * | newTestCaseDef (const char *name)
| create new test case def.
static int | readline ()
| Get one line from stream.
static char * | readDocCommentContents ()
| read contents of doc comment.
static char * | readDocComment ()
| read document comment.
static const char * | getTestName (CCUnitTestType_t type, const char *str)
| get test def.
static const char * | getEndOfTest (CCUnitTestType_t type, const char *str)
| get end of test string.
static _CCUnitFuncDef * | readTestFunc (const char *type, const char *prefix, const char *desc)
| read test funcdef.
static void | readTestCase (_CCUnitTestSuiteDef *suite, const char *cname)
| read test case function.
void | ccunit_readSuite (const char *fname, _CCUnitTestSuiteDef *parent)
| read test unit suite from specified stream.

## 変数
static struct _CCUnitLine | line
| Current processing line.
static const char * | testTypeStr []

## 説明

ReadSuite module implementation.

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