Functions |
| static void | readSuite (_CCUnitTestSuiteDef *suite) |
| | read test suite def.
|
| static void | destroyTestDef (_CCUnitTestDef *test) |
| | destroy test def.
|
| static _CCUnitTestDef * | initTestDef (_CCUnitTestDef *test, CCUnitTestType_t type, const char *name) |
| | init test def.
|
| static void | deleteTestDef (_CCUnitTestDef *test) |
| | delete test def.
|
| static void | destroyTestSuiteDef (_CCUnitTestSuiteDef *suite) |
| | destroy test suite def.
|
| _CCUnitTestSuiteDef * | ccunit_newTestSuiteDef (const char *name) |
| | create new test suite def.
|
| void | ccunit_deleteTestSuiteDef (_CCUnitTestSuiteDef *suite) |
| | delete test suite def.
|
| static _CCUnitTestDef * | addTestDef (_CCUnitTestSuiteDef *suite, _CCUnitTestDef *test) |
| | add test to test suite.
|
| static _CCUnitTestDef * | addTestSuiteDef (_CCUnitTestSuiteDef *suite, _CCUnitTestSuiteDef *test) |
| | add test suite to test suite.
|
| static _CCUnitTestDef * | addTestCaseDef (_CCUnitTestSuiteDef *suite, _CCUnitTestCaseDef *test) |
| | add test case to test suite.
|
| static _CCUnitFuncDef * | newFuncDef (const char *scope, const char *type, const char *name, const char *desc) |
| | create new test func.
|
| static void | deleteFuncDef (_CCUnitFuncDef *func) |
| | delete test func def.
|
| static void | destroyTestCaseDef (_CCUnitTestCaseDef *testCase) |
| | destroy test case def.
|
| static _CCUnitTestCaseDef * | newTestCaseDef (const char *name) |
| | create new test case def.
|
| static int | readline () |
| | Get one line from stream.
|
| static char * | readDocCommentContents () |
| | read contents of doc comment.
|
| static char * | readDocComment () |
| | read document comment.
|
| static const char * | getTestName (CCUnitTestType_t type, const char *str) |
| | get test def.
|
| static const char * | getEndOfTest (CCUnitTestType_t type, const char *str) |
| | get end of test string.
|
| static _CCUnitFuncDef * | readTestFunc (const char *type, const char *prefix, const char *desc) |
| | read test funcdef.
|
| static void | readTestCase (_CCUnitTestSuiteDef *suite, const char *cname) |
| | read test case function.
|
| void | ccunit_readSuite (const char *fname, _CCUnitTestSuiteDef *parent) |
| | read test unit suite from specified stream.
|
ReadSuite module implementation.