| [ CCUnit project page ] | [ CCUnit home page ] |
Read one line module. [詳細]
|
データ構造 | |
| struct | _CCUnitLine |
| Read line. [詳細] | |
関数 | |
| 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. | |
| static void | readSuite (_CCUnitTestSuiteDef *suite) |
| read test suite def. | |
変数 | |
| static struct _CCUnitLine | line |
| Current processing line. | |
| static const char * | testTypeStr [] |
Read one line module.
| static const char* getEndOfTest | ( | CCUnitTestType_t | type, | |
| const char * | str | |||
| ) | [static] |
get end of test string.
| type | test type. | |
| str | string. |
参照先 ccunit_dbg(), ccunit_log(), と testTypeStr.
参照元 readSuite(), と readTestCase().


| static const char* getTestName | ( | CCUnitTestType_t | type, | |
| const char * | str | |||
| ) | [static] |
get test def.
| type | test type. | |
| str | comment string. |
参照先 ccunit_dbg(), ccunit_err(), line, lno, と testTypeStr.
参照元 readSuite(), と readTestCase().


| static char* readDocComment | ( | ) | [static] |
read document comment.
参照先 ccunit_dbg(), line, lno, readDocCommentContents(), と str.
参照元 readSuite(), と readTestCase().


| static char* readDocCommentContents | ( | ) | [static] |
read contents of doc comment.
参照先 ccunit_dbg(), ccunit_err(), ccunit_log(), length, line, lno, readline(), と str.
参照元 readDocComment().


| static int readline | ( | ) | [static] |
Get one line from stream.
This func copies a read line on the global variable line.
参照先 capacity, ccunit_log(), ifp, length, line, lno, と str.
参照元 readDocCommentContents(), readSuite(), readTestCase(), と readTestFunc().


| static void readSuite | ( | _CCUnitTestSuiteDef * | suite | ) | [static] |
read test suite def.
| suite | test suitedef. |
参照先 addTestSuiteDef(), ccunit_err(), ccunit_newTestSuiteDef(), ccunitTypeSuite, ccunitTypeTestCase, deleteFuncDef(), fname, getEndOfTest(), getTestName(), line, lno, readDocComment(), readline(), readTestCase(), readTestFunc(), safe_free, と str.
参照元 ccunit_readSuite().


| static void readTestCase | ( | _CCUnitTestSuiteDef * | suite, | |
| const char * | cname | |||
| ) | [static] |
read test case function.
| suite | parent suite. | |
| cname | test case name to read. |
参照先 addTestCaseDef(), ccunit_addList(), ccunit_log(), ccunitTypeTestCase, getEndOfTest(), getTestName(), _CCUnitTestDef::name, newTestCaseDef(), readDocComment(), readline(), readTestFunc(), safe_free, _CCUnitTestCaseDef::testdef, と _CCUnitTestCaseDef::testFuncs.
参照元 readSuite().


| static _CCUnitFuncDef* readTestFunc | ( | const char * | type, | |
| const char * | prefix, | |||
| const char * | desc | |||
| ) | [static] |
read test funcdef.
| type | required type string. | |
| prefix | required func name prefix. | |
| desc | description. |
参照先 ccunit_dbg(), ccunit_err(), line, newFuncDef(), readline(), と str.
参照元 readSuite(), と readTestCase().


struct _CCUnitLine line [static] |
Current processing line.
参照元 ccunit_readSuite(), getTestName(), readDocComment(), readDocCommentContents(), readline(), readSuite(), と readTestFunc().
const char* testTypeStr[] [static] |
{
"case", "suite"
}
参照元 getEndOfTest(), と getTestName().
|
|
hosts this site. | Send comments to: CCUnit Developer |
Generated on Sun Aug 29 2010 10:59:34 for CCUnit by 1.7.1
|