Very small patch to docs/junit.html (in the trunk; hopefully works
against 1.3 branch version too). Mostly fixing HTML tags to nest
better/more pedantically (improves rendering in Emacs W3); also one <
should be >.

Looks OK on Netscape, someone with IE should confirm.

-Jesse

-- 
Jesse Glick   <mailto:[EMAIL PROTECTED]>
NetBeans, Open APIs  <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR
Index: docs/junit.html =================================================================== RCS file: /home/cvspublic/jakarta-ant/docs/junit.html,v retrieving revision 1.13 diff -u -r1.13 junit.html --- docs/junit.html 2001/01/30 17:01:20 1.13 +++ docs/junit.html 2001/02/12 17:23:01 @@ -81,14 +81,15 @@

jvmarg

If fork is enabled, additional parameters may be passed to the new -VM via nested <jvmarg> attributes, for example:

+VM via nested <jvmarg> attributes, for example: -
+
 <junit fork="yes">
   <jvmarg value="-Djava.compiler=NONE"/>
   ...
 </junit>
-
+ + would run the test in a VM without JIT.

<jvmarg> allows all attributes described in environment variables. -

+
 <junit fork="no">
   <sysproperty key="basedir" value="${basedir}"/>
   ...
 </junit>
-
+ + would run the test in ANT's VM and make the basedir property available to the test.

@@ -271,29 +273,30 @@ <formatter> elements.

Examples

-
+ +

 <junit>
   <test name="my.test.TestCase" />
 </junit>
-
+
-

Runs the test defined in my.test.TestCase in the same +Runs the test defined in my.test.TestCase in the same VM. No output will be generated unless the test fails.

-
+

 <junit printsummary="yes" fork="yes" haltonfailure="yes">
   <formatter type="plain" />
   <test name="my.test.TestCase" />
 </junit>
-
+
-

Runs the test defined in my.test.TestCase in a +Runs the test defined in my.test.TestCase in a separate VM. At the end of the test a single line summary will be printed. A detailed report of the test can be found in TEST-my.test.TestCase.txt. The build process will be stopped if the test fails.

-
+

 <junit printsummary="yes" haltonfailure="yes">
   <classpath>
     <pathelement location="${build.tests}" />
@@ -309,13 +312,13 @@
   <batchtest fork="yes" todir="${reports.tests}">
     <fileset dir="${src.tests}">
       <include name="**/*Test*.java" />
-      <exclude name="**/AllTests.java" /<
+      <exclude name="**/AllTests.java" />
     </fileset>
   </batchtest>
 </junit>
-
+
-

Runs my.test.TestCase in the same VM (ignoring the +Runs my.test.TestCase in the same VM (ignoring the given CLASSPATH), only a warning is printed if this test fails. In addition to the plain text test results, for this test a XML result will be output to result.xml.

Reply via email to