CCUnit  2.1
A C Unit Testing Library
 全て データ構造 ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 グループ ページ
データ構造 | マクロ定義 | 型定義 | 関数
CCUnitTestCase.h

TestCase module. [詳細]

#include <ccunit/CCUnitConfig.h>
#include <ccunit/CCUnitList.h>
#include <ccunit/CCUnitTest.h>
#include <ccunit/CCUnitTestFunc.h>
#include <ccunit/CCUnitTestResult.h>
CCUnitTestCase.hのインクルード依存関係図
このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

データ構造

struct  CCUnitTestCase
 Wraps a test case with setUp and tearDown function. [詳細]
struct  CCUnitTestCaseDfn
 TestCase definition structure. [詳細]

マクロ定義

#define CCUNIT_ADDNEWTESTFUNC(TESTCASE, FN)   ccunit_addNewTestFunc (TESTCASE, #FN, NULL, FN)

型定義

typedef struct CCUnitTestCase CCUnitTestCase
 Wraps a test case with setUp and tearDown function.
typedef struct CCUnitTestCaseDfn CCUnitTestCaseDfn
 TestCase definition structure.

関数

CCUnitTestCaseccunit_newTestCase (const char *name)
 create new test case.
void ccunit_deleteTestCase (CCUnitTestCase *testCase)
 Destructs test case.
void ccunit_addTestFunc (CCUnitTestCase *testCase, CCUnitTestFunc *f)
 add test function to test case.
CCUnitTestFuncccunit_addNewTestFunc (CCUnitTestCase *testCase, const char *name, const char *desc, void(*runTest)())
 add new test func to test case.
struct CCUnitTestResultccunit_runTestCase (CCUnitTestCase *testCase)
 run test cases and collect its results.

説明

TestCase module.

SourceForge.jp hosts this site. Send comments to: CCUnit Developer