[Batchserver-cvs] batchserver build.xml,1.3,1.4
Brought to you by:
suresh_pragada
From: Suresh <sur...@us...> - 2006-03-04 04:16:44
|
Update of /cvsroot/batchserver/batchserver In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8873 Modified Files: build.xml Log Message: modified the junit targets Index: build.xml =================================================================== RCS file: /cvsroot/batchserver/batchserver/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 1 Feb 2006 05:06:21 -0000 1.3 --- build.xml 4 Mar 2006 04:16:40 -0000 1.4 *************** *** 33,37 **** <path id="compile.classpath"> <!-- Include all JAR files that will be required to compile application --> - <pathelement location="${lib.home}/log4j/log4j_1.2.9.jar"/> <pathelement location="${lib.home}/xml/xml_apis.jar"/> <pathelement location="${lib.home}/xml/apache/resolver_2.7.1.jar"/> --- 33,36 ---- *************** *** 141,150 **** ! <!-- ==================== Run Test Case Target ===================================== --> ! <target name="run-test-case" depends="test-compile" description="Run Unit Test classes"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> ! <echo message="Running JUnit Test"/> ! <echo message="Classpath for run test : ${test.runtime.classpath}"/> <delete dir="${reports.home}"/> <mkdir dir="${reports.home}"/> --- 140,149 ---- ! <!-- ==================== Run Framework Test Suite Target ===================================== --> ! <target name="run-framework-test-suite" depends="test-compile" description="Run Framework Test Suite"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> ! <echo message="Running Framework Test Suite"/> ! <echo message="Classpath to run test suite : ${test.runtime.classpath}"/> <delete dir="${reports.home}"/> <mkdir dir="${reports.home}"/> *************** *** 152,167 **** <classpath refid="test.runtime.classpath"/> <!-- To generate the test reports use the below xml formatter instead of plain formmater --> ! <!-- <formatter type="xml" usefile="true"/> --> ! <formatter type="plain" usefile="false"/> ! <test name="org.jmonks.batchserver.framework.common.FrameworkUtilTest" todir="${reports.home}"/> </junit> </target> ! <!-- ==================== Run Test Suite Target ===================================== --> ! <target name="run-test-suite" depends="test-compile" description="Run Complete Unit Test Suite"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> ! <echo message="Running JUnit Test Suite"/> ! <echo message="Classpath for run test suite : ${test.runtime.classpath}"/> <delete dir="${reports.home}"/> <mkdir dir="${reports.home}"/> --- 151,166 ---- <classpath refid="test.runtime.classpath"/> <!-- To generate the test reports use the below xml formatter instead of plain formmater --> ! <formatter type="xml" usefile="true"/> ! <!-- <formatter type="plain" usefile="false"/> --> ! <test name="org.jmonks.batchserver.framework.FrameworkTestSuite" todir="${reports.home}"/> </junit> </target> ! <!-- ==================== Run All Tests Target ===================================== --> ! <target name="run-all-tests" depends="test-compile" description="Run all the tests available in project"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> ! <echo message="Running All JUnit Tests"/> ! <echo message="Classpath for run all tests : ${test.runtime.classpath}"/> <delete dir="${reports.home}"/> <mkdir dir="${reports.home}"/> *************** *** 179,183 **** <!-- ==================== JUnit Reports Format Target ===================================== --> ! <target name="run-format-test-results" depends="run-test-suite" description="Run the unittests and format the test results into html docs"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> <junitreport todir="${reports.home}"> --- 178,192 ---- <!-- ==================== JUnit Reports Format Target ===================================== --> ! <target name="run-format-framework-test-suite" depends="run-framework-test-suite" description="Run the unittests and format the test results into html docs"> ! <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> ! <junitreport todir="${reports.home}"> ! <fileset dir="${reports.home}"> ! <include name="*.xml"/> ! </fileset> ! <report format="frames" todir="${reports.home}/html"/> ! </junitreport> ! </target> ! ! <target name="run-format-all-tests-results" depends="run-all-tests" description="Run the unittests and format the test results into html docs"> <!-- Make sure you have junit jar and junit ant jar in ant lib directory --> <junitreport todir="${reports.home}"> *************** *** 210,214 **** <javadoc sourcepath="${src.home}" destdir="${docs.home}" ! packagenames="*"> <classpath refid="compile.classpath"/> </javadoc> --- 219,226 ---- <javadoc sourcepath="${src.home}" destdir="${docs.home}" ! packagenames="*" ! author="true" ! version="true" ! use="true"> <classpath refid="compile.classpath"/> </javadoc> |