Update of /cvsroot/proxool/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv24190
Modified Files:
build.xml
Log Message:
improved junit report format and added optional
jvmargs to test target (for profiling)
Index: build.xml
===================================================================
RCS file: /cvsroot/proxool/proxool/build.xml,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** build.xml 6 Mar 2003 11:33:03 -0000 1.45
--- build.xml 7 Mar 2003 14:43:59 -0000 1.46
***************
*** 39,42 ****
--- 39,45 ----
<property name="log4jPath" value="src/java-test/org/logicalcobwebs/proxool/log4j-test.xml"/>
+ <!-- Passed to JVM when running tests -->
+ <property name="jvmargs" value=""/>
+
<!-- Classpath -->
<path id="source" path="${build-dir}/classes">
***************
*** 303,309 ****
depends="clean,init,build-test,deleteTestDb"
>
! <java fork="yes" classpathref="source" classname="junit.textui.TestRunner">
<sysproperty key="log4jPath" value="${log4jPath}"/>
<arg value="org.logicalcobwebs.proxool.GlobalTest"/>
</java>
</target>
--- 306,313 ----
depends="clean,init,build-test,deleteTestDb"
>
! <java fork="yes" classpathref="source" classname="junit.textui.TestRunner" >
<sysproperty key="log4jPath" value="${log4jPath}"/>
<arg value="org.logicalcobwebs.proxool.GlobalTest"/>
+ <jvmarg line="${jvmargs}"/>
</java>
</target>
***************
*** 327,331 ****
</junit>
-
<junitreport>
<fileset dir="${build-dir}/reports">
--- 331,334 ----
***************
*** 342,346 ****
file="${build-dir}/reports/${junit-report-name}"
token="<h1>Unit Test Results</h1>"
! value='<div style="font-size: 110%;"><div style="float: right; font-weight: bold;">${TODAY_FULL}</div><a href="../index.html">Proxool</a> - ${junit-report-description}</div>'
/>
--- 345,355 ----
file="${build-dir}/reports/${junit-report-name}"
token="<h1>Unit Test Results</h1>"
! value=""
! />
!
! <replace
! file="${build-dir}/reports/${junit-report-name}"
! token='Designed for use with <a href="http://www.junit.org">JUnit</a> and <a href="http://jakarta.apache.org/ant">Ant</a>.'
! value='${TODAY_FULL}'
/>
|