* source codes, the test case source codes must be formatted by
* following pseudo-BNF:
* @~japanese
- * ¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤«¤é¥Æ¥¹¥È¥¹¥¤¡¼¥È¥³¡¼¥É¤òºî¤ë¥³¡¼¥É¤òÀ¸À®¤¹
- * ¤ë¤¿¤á¤Ë¡¢¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤Ï²¼µµ¿»÷ BNF ¤Ë¤è¤Ã¤Æ¥Õ¥©¡¼¥Þ¥Ã
- * ¥È¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
+ * @brief ¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤«¤é¥Æ¥¹¥È¥¹¡¼¥Ä¥³¡¼¥É¤òºî¤ë¥³¡¼¥É¤òÀ¸À®¤·¤Þ¤¹¡£
+ *
+ * ¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤Ï¼¡¤Îµ¿»÷ BNF ¤Ë¤è¤Ã¤Æ¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
* @~
*
* @code
/** @} */
-/** @ingroup CCUnitMakeSuite
+/**
+ * @ingroup CCUnitMakeSuite
* @defgroup CCUnitReadSuite _ReadSuite
* Read test case definitions from test source code.
* @{
* FILES: the special name '-' means input from stdin.
* @endcode
*
- * @~english
- * To generate a code to create test suite code from the test case
- * source codes, the test case source codes must be formatted by
- * following pseudo-BNF:
- * @~japanese
- * ¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤«¤é¥Æ¥¹¥È¥¹¥¤¡¼¥È¥³¡¼¥É¤òºî¤ë¥³¡¼¥É¤òÀ¸À®¤¹
- * ¤ë¤¿¤á¤Ë¡¢¥Æ¥¹¥È¥±¡¼¥¹¥½¡¼¥¹¥³¡¼¥É¤Ï²¼µµ¿»÷ BNF ¤Ë¤è¤Ã¤Æ¥Õ¥©¡¼¥Þ¥Ã
- * ¥È¤µ¤ì¤Ê¤¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó¡£
- * @~
- * @copydoc CCUnitMakeSuite
+ * @copydetails CCUnitMakeSuite
*
* @return 0 if succeeded, else error occured.
* @ingroup CreatingTestSuite
#include <setjmp.h>
/**
- * run tests exception.
+ * run tests exception environment.
*/
jmp_buf _ccunit_runTest_env;
/**
- * run tests exception
+ * run tests exception.
*/
CCUnitTestFailure* _ccunit_testFailure;
return c;
}
-/*
+/**
* Runs the bare test sequence.
*
* @return failure
*/
/**
- * Wraps a test case with setUp and tearDown methods.
+ * Wraps a test case with setUp and tearDown function.
*
* A TestCase is used to provide a common environment for a set
* of test cases.
*
* void MathTest_newTestCase_testAdd ()
* {
- * return ccunit_newTestCase ("addTest", "add test", addTest);
+ * return ccunit_newTestCase ("testAdd", "add test", testAdd);
* }
* @endcode
*
#include <ccunit/CCUnitTestSuite.h>
#include <ccunit/CCUnitTestResult.h>
-/** @addtogroup CCUnitTestSuite
+/**
+ * @addtogroup CCUnitTestSuite
* @{
*/
-/*
+/**
* Runs the test cases and collects their result in a TestResult.
* @param testSuite test suite.
* @param result result container.
}
}
-/*
+/**
* destruct test suite.
* @param test destruct object.
*/
/**
* A <code>Composite</code> class of Tests.
- * It runs a collection of test cases. Here is an example.
+ * It runs a collection of test fixture or suite. Here is an example.
*
* @code
* CCUnitTestSuite* suite = ccunit_newTestSuite ();
- * ccunit_addTestCase (suite, TESTCASE_1);
- * ccunit_addTestCase (suite, TESTCASE_2);
+ * ccunit_addTestFixture (suite, TESTFIXTURE);
+ * ccunit_addTestSuite (suite, TESTSUITE);
* @endcode
*
- * @see CCUnitTest, CCUnitTestCase.
+ * @see CCUnitTest, CCUnitTestFixture.
* @ingroup CreatingTestSuite
*/
typedef struct CCUnitTestSuite