From 4a2ec7b014b93688c55a3064198731acc71960cd Mon Sep 17 00:00:00 2001 From: tsntsumi Date: Sat, 13 Sep 2003 05:38:20 +0000 Subject: [PATCH] include prototypes of ReadSuite and WriteSuite --- src/ccunit/CCUnitMakeSuite.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/src/ccunit/CCUnitMakeSuite.h b/src/ccunit/CCUnitMakeSuite.h index f47fbe5..bd0fb18 100644 --- a/src/ccunit/CCUnitMakeSuite.h +++ b/src/ccunit/CCUnitMakeSuite.h @@ -127,6 +127,41 @@ typedef struct CCUnitTestFixtureDef /** @} */ /** + * @defgroup CCUnitReadSuite ReadSuite + * Read test case definitions from test source code. + * @{ + */ + +/** + * read test unit suite from specified stream. + * + * @param fname test unit source code file. + * @param parent [out] test suite to adding read test. + */ +extern void ccunit_readSuite (const char* fname, CCUnitTestSuiteDef* parent); + +/** @} */ + +/** + * @defgroup CCUnitWriteSuite WriteSuite + * Write the source code to making the test suite. + * @{ + */ + +/** + * output test suite making function code. + * + * @param ofp output stream. + * @param name add function name. + * @param suite test suite to print. + */ +extern void ccunit_writeSuite (FILE* ofp, + const char* name, + CCUnitTestSuiteDef* suite); + +/** @} */ + +/** * generate test suite making function code. * @param ac arg count. * @param av array of arg string. -- 2.11.0