OSDN Git Service

rename CCUnitTestFixture to CCUnitTestCase
authortsutsumi <>
Fri, 20 Aug 2010 07:51:28 +0000 (07:51 +0000)
committertsutsumi <>
Fri, 20 Aug 2010 07:51:28 +0000 (07:51 +0000)
src/ccunit/CCUnitTestSuite.h

index 925429e..328b1f7 100755 (executable)
@@ -1,5 +1,5 @@
 /* -*- C -*- */
-/* Copyright (C) 2003 TSUTSUMI Kikuo.
+/* Copyright (C) 2003, 2010 TSUTSUMI Kikuo.
    This file is part of the CCUnit Library.
 
    The CCUnit Library is free software; you can redistribute it and/or
@@ -30,7 +30,7 @@
 #include <ccunit/CCUnitConfig.h>
 #include <ccunit/CCUnitList.h>
 #include <ccunit/CCUnitTest.h>
-#include <ccunit/CCUnitTestFixture.h>
+#include <ccunit/CCUnitTestCase.h>
 #include <ccunit/CCUnitTestResult.h>
 
 /**
 
 /**
  * A <code>Composite</code> class of Tests.
- * It runs a collection of test fixture or suite. Here is an example.
+ * It runs a collection of test case or suite. Here is an example.
  *
  * @code
- * CCUnitTestSuite* suite = ccunit_newTestSuite ();
- * ccunit_addTestFixture (suite, TESTFIXTURE);
+ * CCUnitTestSuite* suite = ccunit_newTestSuite ("a test suite");
+ * ccunit_addTestCase (suite, TESTCASE);
  * ccunit_addTestSuite (suite, TESTSUITE);
  * @endcode
  *
- * @see CCUnitTest, CCUnitTestFixture.
+ * @see CCUnitTest, CCUnitTestCase.
  * @ingroup CreatingTestSuite
  */
 typedef struct CCUnitTestSuite
@@ -109,13 +109,13 @@ extern inline void ccunit_addTestSuite (CCUnitTestSuite* suite,
                                        CCUnitTestSuite* testSuite);
 
 /**
- * Adds a test fixture to the suite.
+ * Adds a test case to the suite.
  * @param suite test suite.
- * @param fixture test to add.
+ * @param testCase test case to add.
  * @ingroup CreatingTestSuite
  */
-extern inline void ccunit_addTestFixture (CCUnitTestSuite* suite,
-                                         CCUnitTestFixture* fixture);
+extern inline void ccunit_addTestCase (CCUnitTestSuite* suite,
+                                      CCUnitTestCase* testCase);
 
 /**
  * run test suite and collect its results.