CCUnit project page | CCUnit home page |
#include <ccunit/CCUnitTestFixture.h>
#include <ccunit/CCUnitTestResult.h>
#include <assert.h>
#include <setjmp.h>
Include dependency graph for CCUnitTestFixture.c:
Functions | |
void | _ccunit_startTest (CCUnitTestResult *result, struct CCUnitTestCase *test) |
Informs the result that a test will be started. | |
void | _ccunit_endTest (CCUnitTestResult *result, struct CCUnitTestCase *test) |
Informs the result that a test was completed. | |
void | ccunit_addTestCase (CCUnitTestFixture *fixture, CCUnitTestCase *testCase) |
add test case to test fixture. | |
CCUnitTestCase * | ccunit_addNewTestCase (CCUnitTestFixture *fixture, const char *name, const char *desc, void(*runTest)()) |
add new test case to test fixture. | |
void | runTest (CCUnitTestCase *testCase, CCUnitTestFunc *setUp, CCUnitTestFunc *tearDown, CCUnitTestResult *result) |
void | run (CCUnitTest *test, CCUnitTestResult *result) |
Runs the test fixture and collects the results in CCUnitTestResult. | |
void | destroy (CCUnitTest *test) |
Destruct test fixture. | |
CCUnitTestFixture * | ccunit_newTestFixture (const char *name, CCUnitTestFunc *setUp, CCUnitTestFunc *tearDown) |
create new test fixture. | |
CCUnitTestResult * | ccunit_runTestFixture (CCUnitTestFixture *f) |
run test cases and collect its results. | |
Variables | |
jmp_buf | _ccunit_run_env |
run test fixtures exception. | |
jmp_buf | _ccunit_runTest_env |
run tests exception. |
|
|
|
hosts this site. |
Send comments to: CCUnit Developer |