Index: src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java,v retrieving revision 1.11 diff -u -r1.11 JUnitTestRunner.java --- src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java 2001/07/22 13:12:29 1.11 +++ src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java 2001/07/23 21:48:33 @@ -70,12 +70,15 @@ * * <p>This TestRunner expects a name of a TestCase class as its * argument. If this class provides a static suite() method it will be - * called and the resulting Test will be run. + * called and the resulting Test will be run. So, the signature should be + * <pre><code> + * public static junit.framework.Test suite() + * </code></pre> * - * <p>Otherwise all public methods starting with "test" and taking no - * argument will be run. + * <p> If no such method exists, all public methods starting with "test" and taking no + * argument will be run. * - * <p>Summary output is generated at the end. + * <p> Summary output is generated at the end. * * @author <a href="mailto:[EMAIL PROTECTED]">Stefan Bodewig</a> * @author <a href="mailto:[EMAIL PROTECTED]">Erik Hatcher</a>
documentation improvements
