CCUnit project page | CCUnit home page |
#include <ccunit/CCUnitMakeSuite.h>
#include <ccunit/CCUnitLogMessage.h>
#include <ctype.h>
#include <errno.h>
Include dependency graph for CCUnitReadSuite.c:
Data Structures | |
struct | _CCUnitLine |
Read line. More... | |
Functions | |
void | destroyTestDef (_CCUnitTestDef *test) |
destroy test def. | |
_CCUnitTestDef * | initTestDef (_CCUnitTestDef *test, CCUnitTestType_t type, const char *name) |
init test def. | |
void | deleteTestDef (_CCUnitTestDef *test) |
delete test def. | |
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. | |
_CCUnitTestDef * | addTestDef (_CCUnitTestSuiteDef *suite, _CCUnitTestDef *test) |
add test to test suite. | |
_CCUnitTestDef * | addTestSuiteDef (_CCUnitTestSuiteDef *suite, _CCUnitTestSuiteDef *test) |
add test suite to test suite. | |
_CCUnitTestDef * | addTestFixtureDef (_CCUnitTestSuiteDef *suite, _CCUnitTestFixtureDef *test) |
add test fixture to test suite. | |
_CCUnitFuncDef * | newFuncDef (const char *scope, const char *type, const char *name, const char *desc) |
create new test case. | |
void | deleteFuncDef (_CCUnitFuncDef *func) |
delete test func def. | |
void | destroyTestFixtureDef (_CCUnitTestFixtureDef *fixture) |
destroy test fixture def. | |
_CCUnitTestFixtureDef * | newTestFixtureDef (const char *name) |
create new test fixture def. | |
int | readline () |
Get one line from stream. | |
char * | readDocCommentContents () |
read contents of doc comment. | |
char * | readDocComment () |
read document comment. | |
const char * | getTestName (CCUnitTestType_t type, const char *str) |
get test def. | |
const char * | getEndOfTest (CCUnitTestType_t type, const char *str) |
get end of test string. | |
_CCUnitFuncDef * | readTestCase (const char *type, const char *prefix, const char *desc) |
read test casedef. | |
void | setFixtureFunc (_CCUnitFuncDef **fpp, _CCUnitFuncDef *fp) |
set fixture function. | |
void | readTestFixture (_CCUnitTestSuiteDef *suite, const char *cname) |
read test fixture function. | |
void | readSuite (_CCUnitTestSuiteDef *suite) |
read test suite def. | |
void | ccunit_readSuite (const char *fname, _CCUnitTestSuiteDef *suite) |
read test unit suite from specified stream. | |
Variables | |
_CCUnitLine | line |
Current processing line. | |
const char * | testTypeStr [] |
|
hosts this site. |
Send comments to: CCUnit Developer |