[seam-commits] Seam SVN: r11867 - branches/enterprise/JBPAPP_4_3_FP01.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Dec 21 07:18:55 EST 2009
Author: jharting
Date: 2009-12-21 07:18:55 -0500 (Mon, 21 Dec 2009)
New Revision: 11867
Modified:
branches/enterprise/JBPAPP_4_3_FP01/build.xml
Log:
JBPAPP-3294
Modified: branches/enterprise/JBPAPP_4_3_FP01/build.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/build.xml 2009-12-21 01:51:21 UTC (rev 11866)
+++ branches/enterprise/JBPAPP_4_3_FP01/build.xml 2009-12-21 12:18:55 UTC (rev 11867)
@@ -945,6 +945,70 @@
</eclipseClasspath>
</target>
+ <!-- EAP 4.3 testing targets -->
+ <target name="eap.testall" depends="initpoms" description="Run the core tests">
+ <init classesdir="${classes.test.dir}" srcdir="${src.unit.test.dir}" modulename="core" pom="${core.pom}" scope="test" message="" />
+ <path id="eap.test.compile.path">
+ <path refid="test.core.path" />
+ <fileset dir="${seam.dir}/lib">
+ <include name="jboss-seam.jar" />
+ <include name="jboss-seam-remoting.jar" />
+ </fileset>
+ </path>
+
+ <path id="eap.test.run.path">
+ <path path="${seam.dir}/bootstrap" />
+ <fileset dir="${seam.dir}/lib/test">
+ <include name="*.jar" />
+ </fileset>
+ <path refid="eap.test.compile.path"/>
+ <path path="${classes.test.dir}"/>
+ </path>
+
+ <!-- Compile tests -->
+ <mkdir dir="${classes.test.dir}"/>
+ <compile classesdir="${classes.test.dir}" srcdir="${src.unit.test.dir}" classpath="eap.test.compile.path" />
+
+ <!-- Run unit tests -->
+ <taskdef resource="testngtasks" classpathref="eap.test.run.path" />
+ <testng outputdir="${test.dir}">
+ <jvmarg line="-Xmx800M" />
+ <jvmarg line="-Djava.awt.headless=true" />
+ <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
+ <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+ <!--added for JDK6 compatibility with JBoss embedded-->
+ <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
+ <jvmarg line="${testng.jvmargs}" />
+ <classpath refid="eap.test.run.path"/>
+ <xmlfileset dir="${src.unit.test.dir}" includes="**/testng.xml" />
+ </testng>
+
+ <!-- Run integration tests -->
+ <testexample name="integration" path="${seam.dir}/src/test/integration"/>
+ <testexample name="booking" />
+ <testexample name="nestedbooking" />
+ <testexample name="dvdstore" />
+ <testexample name="messages" />
+ <testexample name="numberguess" />
+ <testexample name="contactlist" />
+ <testexample name="registration" />
+ <testexample name="todo" />
+ <testexample name="blog" />
+ <testexample name="seamdiscs" />
+ <testexample name="seambay" />
+ <testexample name="seamspace" />
+ <testexample name="drools" />
+ <testexample name="mail" />
+ <testexample name="seampay" />
+ <testexample name="itext" />
+ <testexample name="hibernate" />
+ <testexample name="jpa" />
+ <testexample name="quartz" />
+
+
+ <echo>You can increase the logging by editing bootstrap/log4j.xml</echo>
+ </target>
+
</project>
More information about the seam-commits
mailing list