*
* TESTCASE ::= TESTCASE_HEADER
* [TESTCASE_CODE]...
- * [SETUP_SETUP_FUNC]
- * [SETUP_TEARDOWN_FUNC]
- * [SETUP_FUNC]
- * [TEARDOWN_FUNC]
* [TESTFUNC]...
* TESTCASE_END
*
* COMMENT_END
* TESTCASE_CODE ::= any C language codes.
*
- * SETUP_SETUP_FUNC ::= [ FUNC_DESC ]
- * ['static'] 'void setup_setUp'[A-Za-z0-9_]* '()'
- * FUNC_BODY
+ * TESTFUNC ::= [ FUNC_DESC ] 'void ' FUNC_PREFIX[A-Za-z0-9_]* '()' FUNC_BODY
*
- * SETUP_TEARDOWN_FUNC ::= [ FUNC_DESC ]
- * ['static'] 'void setup_tearDown'[A-Za-z0-9_]* '()'
- * FUNC_BODY
+ * FUNC_PREFIX ::= 'test' | 'setUp' | 'tearDown' | 'setup_setUp' | 'setup_tearDown'
*
- * SETUP_FUNC ::= [ FUNC_DESC ]
- * ['static'] 'void setUp'[A-Za-z0-9_]* '()'
- * FUNC_BODY
- *
- * TEARDOWN_FUNC ::= [ FUNC_DESC ]
- * ['static'] 'void tearDown'[A-Za-z0-9_]* '()'
- * FUNC_BODY
- *
- * TESTFUNC ::= [ FUNC_DESC ] 'void test'[A-Za-z0-9_]* '()' FUNC_BODY
- *
- * TESTCASE_END ::= JAVADOC_COMMENT_BEGIN 'end test case' wsp string COMMENT_END
+ * TESTCASE_END ::= JAVADOC_COMMENT_BEGIN 'end test case ' [string] COMMENT_END
*
* FUNC_DESC ::= JAVADOC_COMMENT_BEGIN string COMMENT_END
*