From: PaulE <ut_...@us...> - 2006-04-21 22:16:55
|
Update of /cvsroot/jaffa/JaffaBuild/build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv747/build Modified Files: build-tests.xml shared.ant.properties Log Message: Allow list of classes to be specified for unit testing, instead of assuming *Test* By default the following settings make this backwards compatible test.junit.includes=*Test.java,**/*Test.java test.junit.excludes= Index: build-tests.xml =================================================================== RCS file: /cvsroot/jaffa/JaffaBuild/build/build-tests.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build-tests.xml 4 Mar 2006 01:55:09 -0000 1.3 --- build-tests.xml 21 Apr 2006 22:16:50 -0000 1.4 *************** *** 121,124 **** --- 121,125 ---- <test-execute reportdir="${dist.test.junit.reports}" type="unittests"> <testfiles> + <!-- <fileset dir="${src.test.junit}" includes="*Test*.java"> <include name="**/*Test*.java"/> *************** *** 126,129 **** --- 127,134 ---- <exclude name="${test.junit.excludes}"/> </fileset> + --> + <fileset dir="${src.test.junit}" + includes="${test.junit.includes}" + excludes="${test.junit.excludes}"/> </testfiles> <moduleclasspath> Index: shared.ant.properties =================================================================== RCS file: /cvsroot/jaffa/JaffaBuild/build/shared.ant.properties,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** shared.ant.properties 30 Aug 2005 02:13:06 -0000 1.4 --- shared.ant.properties 21 Apr 2006 22:16:50 -0000 1.5 *************** *** 117,118 **** --- 117,125 ---- #javadoc.includemodules=true #javadoc.force=true + + + #----------------------------------------- + # Default settings for Unit Testing + #----------------------------------------- + test.junit.includes=*Test.java,**/*Test.java + test.junit.excludes= |