CCUnit
2.1
A C Unit Testing Library
|
Typedefs | |
typedef struct CCUnitTestRunner | CCUnitTestRunner |
A command line based tool to run tests. |
Functions | |
struct CCUnitTestResult * | ccunit_runTestCase (CCUnitTestCase *testCase) |
run test cases and collect 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_runTestSuite (CCUnitTestSuite *suite, CCUnitTestResult *result) |
run test suite and collect its results. |
typedef struct CCUnitTestRunner CCUnitTestRunner |
A command line based tool to run tests.
Runs a single test and collects its results. This method can be used to start a test run from your program.
void ccunit_deleteTestRunner | ( | CCUnitTestRunner * | runner | ) |
destructor.
runner | TestRunner object to destruct. |
References ccunit_deleteTestResult(), and CCUnitTestRunner::result.
CCUnitTestRunner * ccunit_newTestRunner | ( | FILE * | output | ) |
constructor.
output | prints test result into this stream. |
References addFailure(), CCUnitTestListener::addFailure, doRun(), endTest(), CCUnitTestListener::endTest, CCUnitTestRunner::listener, CCUnitTestRunner::ofp, CCUnitTestRunner::run, startTest(), and CCUnitTestListener::startTest.
|
read |
run test cases and collect its results.
testCase | test case. |
References ccunit_newTestResult(), CCUnitTest::run, and CCUnitTestCase::test.
|
inline |
Runs test suite.
runner | test runner |
suite | test suite |
References CCUnitTestRunner::run.
|
inline |
run test suite and collect its results.
suite | test suite. |
result | test result. if NULL, create a new result object and return it. |
References ccunit_newTestResult(), CCUnitTest::run, and CCUnitTestSuite::test.
Referenced by doRun().
|
hosts this site. | Send comments to: CCUnit Developer |
Generated on Sat Jul 13 2013 15:09:17 for CCUnit by
![]() |