CCUnit project page | CCUnit home page |
This method can be used to start a test run from your program.
Data Structures | |
struct | CCUnitTestRunner |
Runs a single test and collects its results. More... | |
Functions | |
void | startTest (CCUnitTestListener *listener, CCUnitTestCase *test) |
receive startTest notification. | |
void | endTest (CCUnitTestListener *listener, CCUnitTestCase *test) |
receive endTest notification. | |
void | addFailure (CCUnitTestListener *listener, CCUnitTestFailure *failure) |
receive addFailure notification. | |
void | printHeader (CCUnitTestRunner *runner, CCUnitTestResult *result) |
Prints the header of the report. | |
void | printFailures (CCUnitTestRunner *runner, CCUnitTestResult *result) |
Prints failures. | |
void | print (CCUnitTestRunner *runner, CCUnitTestResult *result) |
Prints failures. | |
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. |
|
receive addFailure notification.
|
|
destructor.
|
|
Get test result.
|
|
constructor.
|
|
Runs test suite.
|
|
Runs a single test and collects its results.
|
|
receive endTest notification.
|
|
Prints failures.
|
|
Prints failures.
|
|
Prints the header of the report.
|
|
receive startTest notification.
|
|
hosts this site. |
Send comments to: CCUnit Developer |