Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 47758 invoked by uid 500); 23 Jul 2001 22:20:07 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 47741 invoked from network); 23 Jul 2001 22:20:06 -0000 Message-Id: <200107232219.PAA22756@smtpout.mac.com> Date: Mon, 23 Jul 2001 23:20:06 +0100 Content-Type: multipart/alternative; boundary=Apple-Mail-1721472761-7 Mime-Version: 1.0 (Apple Message framework v388) From: robert burrell donkin To: ant-dev@jakarta.apache.org X-Mailer: Apple Mail (2.388) Subject: [PATCH] optional/junit/JUnitTest.java X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N --Apple-Mail-1721472761-7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; format=flowed; charset=us-ascii documentation improvements --Apple-Mail-1721472761-7 Content-Type: multipart/mixed; boundary=Apple-Mail-366302782-8 --Apple-Mail-366302782-8 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii; format=flowed documentation improvements --Apple-Mail-366302782-8 Content-Disposition: attachment; filename="JUnitTest.txt" Content-Type: text/plain; name="JUnitTest.txt"; x-unix-mode=0644 Content-Transfer-Encoding: quoted-printable Index: = src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: = /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/juni= t/JUnitTest.java,v retrieving revision 1.6 diff -u -r1.6 JUnitTest.java --- src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java = 2001/07/11 09:29:50 1.6 +++ src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTest.java = 2001/07/23 21:47:51 @@ -64,10 +64,17 @@ import java.util.Vector; =20 /** + *

Run a single JUnit test. * + *

The JUnit test is actually run by {@link JUnitTestRunner}. + * So read the doc comments for that class :) + * * @author Thomas Haas * @author Stefan = Bodewig, * @author Stephane = Bailliez + * + * @see JUnitTask + * @see JUnitTestRunner */ public class JUnitTest extends BaseTest { =20 @@ -99,19 +106,30 @@ this.haltOnFail =3D haltOnFail; } =20 + /**=20 + * Set the name of the test class. + */ public void setName(String value) { name =3D value; } =20 + /** + * Set the name of the output file. + */ public void setOutfile(String value) { outfile =3D value; } =20 + /**=20 + * Get the name of the test class. + */ public String getName() { return name; } =20 /** + * Get the name of the output file + *=20 * @return the name of the output file. */ public String getOutfile() { --Apple-Mail-366302782-8-- --Apple-Mail-1721472761-7--