[seam-commits] Seam SVN: r9469 - in trunk/src/test/ftest: examples and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Oct 31 13:01:58 EDT 2008
Author: pete.muir at jboss.org
Date: 2008-10-31 13:01:58 -0400 (Fri, 31 Oct 2008)
New Revision: 9469
Modified:
trunk/src/test/ftest/build.xml
trunk/src/test/ftest/examples/build.xml
Log:
Support main testreport target and add a individual test target
Modified: trunk/src/test/ftest/build.xml
===================================================================
--- trunk/src/test/ftest/build.xml 2008-10-31 16:05:11 UTC (rev 9468)
+++ trunk/src/test/ftest/build.xml 2008-10-31 17:01:58 UTC (rev 9469)
@@ -60,7 +60,18 @@
<antcall target="stop.selenium.server">
</antcall>
</target>
+
+ <target name="test">
+ <antcall target="start.selenium.server">
+ </antcall>
+ <!-- Execute tests for all examples-->
+ <testexample name="${test}" />
+
+ <antcall target="stop.selenium.server">
+ </antcall>
+ </target>
+
<target name="cleanall">
<cleanexample name="booking" />
<cleanexample name="dvdstore" />
Modified: trunk/src/test/ftest/examples/build.xml
===================================================================
--- trunk/src/test/ftest/examples/build.xml 2008-10-31 16:05:11 UTC (rev 9468)
+++ trunk/src/test/ftest/examples/build.xml 2008-10-31 17:01:58 UTC (rev 9469)
@@ -33,7 +33,7 @@
<property name="common.src.dir" value="${ftest.dir}/src/main" />
<property name="build.dir" value="build" />
<property name="classes.dir" value="${build.dir}/classes" />
- <property name="test.output.dir" value="test-output" />
+ <property name="test.output.dir" value="${seam.dir}/test-output" />
<property name="ftest.lib.dir" value="${ftest.dir}/lib" />
<property name="log.dir" value="log" />
<property name="test.report.dir" value="test-report" />
More information about the seam-commits
mailing list