CCUnit
2.1
A C Unit Testing Library
|
TestResult module implementation. More...
Functions | |
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. | |
CCUnitTestResult * | ccunit_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. | |
CCUnitListIterator * | ccunit_failures (CCUnitTestResult *result) |
Returns an Iterator for the failures. |
TestResult module implementation.
|
hosts this site. | Send comments to: CCUnit Developer |
Generated on Sat Jul 13 2013 15:09:12 for CCUnit by
![]() |