OSDN Git Service

It was modified because it didn't need to generate a JavaDoc comment.
authortsutsumi <>
Wed, 24 Sep 2003 10:51:07 +0000 (10:51 +0000)
committertsutsumi <>
Wed, 24 Sep 2003 10:51:07 +0000 (10:51 +0000)
src/ccunit/CCUnitWriteSuite.c

index afe09d2..59084e4 100644 (file)
@@ -61,11 +61,11 @@ static void printPrototypes (FILE* ofp, CCUnitTestSuiteDef* suite)
          CCUnitListIterator fitor;
          ccunit_log ("testFixture: %s", testFixture->testdef.name);
          if (testFixture->testdef.name)
-           fprintf (ofp, "/** test fixture: %s */\n", testFixture->testdef.name);
+           fprintf (ofp, "/* test fixture: %s */\n", testFixture->testdef.name);
          if (testFixture->setUp)
            {
              fprintf (ofp,
-                      "/** %s */\n"
+                      "/* %s */\n"
                       "extern %s %s ();\n",
                       testFixture->setUp->desc,
                       testFixture->setUp->type,
@@ -76,7 +76,7 @@ static void printPrototypes (FILE* ofp, CCUnitTestSuiteDef* suite)
          if (testFixture->tearDown)
            {
              fprintf (ofp,
-                      "/** %s */\n"
+                      "/* %s */\n"
                       "extern %s %s ();\n",
                       testFixture->tearDown->desc,
                       testFixture->tearDown->type,
@@ -88,7 +88,7 @@ static void printPrototypes (FILE* ofp, CCUnitTestSuiteDef* suite)
          while ((testCase = ccunit_nextListIterator (&fitor)) != NULL)
            {
              fprintf (ofp,
-                      "/** %s */\n"
+                      "/* %s */\n"
                       "extern %s %s ();\n",
                       testCase->desc,
                       testCase->type,
@@ -188,8 +188,7 @@ static void printSuite (FILE* ofp,
 void ccunit_writeSuite (FILE* ofp, const char* name, CCUnitTestSuiteDef* suite)
 {
   fprintf (ofp,
-          "#include <ccunit/CCUnit.h>\n"
-          "#include <stdio.h>\n"
+          "#include <ccunit/CCUnitTestSuite.h>\n"
           "\n");
   printPrototypes (ofp, suite);
   printSuite (ofp, NULL, suite);