OSDN Git Service

include prototypes of ReadSuite and WriteSuite
authortsntsumi <tsntsumi@users.sourceforge.jp>
Sat, 13 Sep 2003 05:38:20 +0000 (05:38 +0000)
committertsntsumi <tsntsumi@users.sourceforge.jp>
Sat, 13 Sep 2003 05:38:20 +0000 (05:38 +0000)
src/ccunit/CCUnitMakeSuite.h

index f47fbe5..bd0fb18 100644 (file)
@@ -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.