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

TestResult module implementation. [詳細]

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

関数

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.
CCUnitTestResultccunit_newTestResult ()
 Construct TestResult.
void ccunit_deleteTestResult (CCUnitTestResult *result)
 Destruct TestResult.
void ccunit_addResultListener (CCUnitTestResult *result, CCUnitTestListener *listener)
 Registers a TestRunner as TestListener.
void ccunit_addFailure (CCUnitTestResult *result, struct CCUnitTestFailure *failure)
 Adds a failure to the list of failures.
size_t ccunit_failureCount (CCUnitTestResult *result)
 Gets the number of detected failures.
bool ccunit_wasSuccessful (CCUnitTestResult *result)
 Returns whether the entire test was successful or not.
void ccunit_stopTest (CCUnitTestResult *result)
 Marks that the test run should stop.
size_t ccunit_runCount (CCUnitTestResult *result)
 Gets the number of run tests.
CCUnitListIteratorccunit_failures (CCUnitTestResult *result)
 Returns an Iterator for the failures.

説明

TestResult module implementation.

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