You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2006/10/31 15:11:38 UTC

svn commit: r469491 - in /incubator/qpid/trunk/qpid/java: broker/test/build-module.xml build.xml client/test/build-module.xml module.xml

Author: ritchiem
Date: Tue Oct 31 06:11:38 2006
New Revision: 469491

URL: http://svn.apache.org/viewvc?view=rev&rev=469491
Log:
Additions to build system to cause junit to produce a report

Modified:
    incubator/qpid/trunk/qpid/java/broker/test/build-module.xml
    incubator/qpid/trunk/qpid/java/build.xml
    incubator/qpid/trunk/qpid/java/client/test/build-module.xml
    incubator/qpid/trunk/qpid/java/module.xml

Modified: incubator/qpid/trunk/qpid/java/broker/test/build-module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/broker/test/build-module.xml?view=diff&rev=469491&r1=469490&r2=469491
==============================================================================
--- incubator/qpid/trunk/qpid/java/broker/test/build-module.xml (original)
+++ incubator/qpid/trunk/qpid/java/broker/test/build-module.xml Tue Oct 31 06:11:38 2006
@@ -29,4 +29,12 @@
     </junit>
   </target>
 
+     <target name="xmltest" depends="build">
+    <junit fork="yes" showoutput="true" haltonfailure="no">
+      <test name="org.apache.qpid.server.UnitTests"/>
+      <formatter type="xml" usefile="junit.report.xml"/>
+      <classpath refid="module.class.path"/>
+    </junit>
+  </target>
+
 </project>

Modified: incubator/qpid/trunk/qpid/java/build.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/build.xml?view=diff&rev=469491&r1=469490&r2=469491
==============================================================================
--- incubator/qpid/trunk/qpid/java/build.xml (original)
+++ incubator/qpid/trunk/qpid/java/build.xml Tue Oct 31 06:11:38 2006
@@ -45,6 +45,10 @@
     <iterate target="test"/>
   </target>
 
+  <target name="xmltest" description="execute unit tests and produce xml reports">
+    <iterate target="xmltest"/>
+  </target>    
+
   <target name="doc" description="produce javadoc for each module">
     <iterate target="doc"/>
   </target>

Modified: incubator/qpid/trunk/qpid/java/client/test/build-module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/test/build-module.xml?view=diff&rev=469491&r1=469490&r2=469491
==============================================================================
--- incubator/qpid/trunk/qpid/java/client/test/build-module.xml (original)
+++ incubator/qpid/trunk/qpid/java/client/test/build-module.xml Tue Oct 31 06:11:38 2006
@@ -29,4 +29,12 @@
     </junit>
   </target>
 
+  <target name="xmltest" depends="build">
+      <junit fork="yes" showoutput="true" haltonfailure="no">
+          <test name="org.apache.qpid.client.AllClientUnitTests"/>
+          <formatter type="xml" usefile="junit.report.xml"/>
+          <classpath refid="module.class.path"/>
+      </junit>
+  </target>
+
 </project>

Modified: incubator/qpid/trunk/qpid/java/module.xml
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/module.xml?view=diff&rev=469491&r1=469490&r2=469491
==============================================================================
--- incubator/qpid/trunk/qpid/java/module.xml (original)
+++ incubator/qpid/trunk/qpid/java/module.xml Tue Oct 31 06:11:38 2006
@@ -19,7 +19,8 @@
 
   <import file="common.xml"/>
 
-  <map property="module" value="${basedir}">
+
+  <map property="module" value="${basedir}">      
     <globmapper from="${project.root}${file.separator}*" to="*"/>
   </map>
 
@@ -165,6 +166,8 @@
   </target>
 
   <target name="test"/>
+
+  <target name="xmltest"/>
 
   <uptodate property="doc.done" targetfile="${module.doc}/index.html">
     <srcfiles dir="${module.src}" includes="**/*.java"/>