sebb 2003/11/12 07:38:55
Modified: . build.xml
Log:
Added testparser target for testing HTML Parser (probably needs more work)
Revision Changes Path
1.128 +29 -1 jakarta-jmeter/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jmeter/build.xml,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- build.xml 24 Oct 2003 09:32:43 -0000 1.127
+++ build.xml 12 Nov 2003 15:38:55 -0000 1.128
@@ -757,4 +757,32 @@
<arg value="org.apache.jmeter.util.JMeterUtils"/>
</java>
</target>
+
+ <!-- Run the HTML Parser unit tests -->
+ <target name="testparser" description="run the JUnit tests">
+ <echo message="**********************************"/>
+ <echo message="* Running unit tests.... *"/>
+ <echo message="**********************************"/>
+<!--
+ <javac srcdir="${src}" includes="org/htmlparser/tests/**" debug="on">
+ <classpath>
+ <pathelement location="src"/>
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${commons-logging.jar}"/>
+ </classpath>
+ </javac>
+-->
+ <java classname="org.htmlparser.tests.AllTests" fork="yes" failonerror="yes">
+ <classpath>
+ <pathelement location="${lib.dir}/htmlparser.jar"/>
+<!-- <pathelement location="${src}"/-->
+ <pathelement location="${junit.jar}"/>
+ <pathelement location="${log-kit.jar}"/>
+ </classpath>
+ <arg value="-text"/>
+ </java>
+ </target>
+
+
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]