ugo 2004/05/17 00:25:04
Modified: tools/targets test-build.xml
Log:
Added the blocks jars and dependent libs to the classpath for running JUnit
tests.
Re-enabled CocoonBeanTestCase (it FAILS at the moment while we're waiting for
Upayavira to commit the necessary changes).
Revision Changes Path
1.11 +9 -2 cocoon-2.1/tools/targets/test-build.xml
Index: test-build.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/tools/targets/test-build.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- test-build.xml 14 May 2004 08:10:58 -0000 1.10
+++ test-build.xml 17 May 2004 07:25:04 -0000 1.11
@@ -31,7 +31,15 @@
<!-- Runs JUnit tests -->
<target name="junit-tests" depends="compile-tests, junit-prepare">
<junit printsummary="yes" fork="yes" failureproperty="junit.test.failed">
- <classpath refid="test.classpath"/>
+ <classpath>
+ <path refid="test.classpath"/>
+ <fileset dir="${build.blocks}">
+ <include name="*.jar"/>
+ </fileset>
+ <fileset dir="${blocks}">
+ <include name="*/lib/*.jar"/>
+ </fileset>
+ </classpath>
<formatter type="plain"/>
<formatter type="xml"/>
<batchtest todir="${build.test.output}">
@@ -39,7 +47,6 @@
<include name="**/*TestCase.class"/>
<include name="**/*Test.class" />
<exclude name="**/AllTest.class" />
- <exclude name="**/CocoonBeanTestCase.class" />
<exclude name="**/*$$*Test.class" />
<exclude name="**/Abstract*.class" />
<exclude name="**/SitemapComponentTestCase*"/>