root/trunk/calendar3/test/build.xml

Revision 2 (checked in by douglm, 7 years ago)

Initial import of bedework

Line 
1 <?xml version="1.0"?>
2
3 <!-- ================ Test suite build Targets ======================
4      This is the ant build file for the test suite for the UW Calendar.
5
6      This file will probably need no modification as most of this is largely
7      site and application independent.
8
9      The target of interest is test which should run all tests and
10      leave a report in tests.reports.dir.
11
12      Authors: Mike Douglass   douglm@rpi.edu
13               Greg Barnes
14      =================================================================== -->
15
16 <project name="uwcal.testsuite" default="test">
17   <property name="source.home" location="${org.bedework.testsuite.base}/src"/>
18   <property name="base.name" value="test"/>
19
20   <target name="init" >
21     <dirname property="this.dir" file="${ant.file}"/>
22     <property name="source.home" location="${this.dir}/src"/>
23   </target>
24
25   <!-- =================================================================
26        The "build" target does a build of all test jars.
27        We do this with every system build to at least ensure they compile.
28        ================================================================= -->
29
30   <target name="build" depends="init" description="Build junit classes">
31     <ant antfile="${this.dir}/httpunit/build.xml" inheritrefs="true"
32          target="build" />
33     <ant antfile="${this.dir}/unittests/build.xml" inheritrefs="true"
34          target="build" />
35   </target>
36
37   <target name="run.httptest" depends="build"
38           description="Run calendar httpunit tests">
39       <ant antfile="${this.dir}/httpunit/build.xml" inheritrefs="true"
40            target="run" />
41   </target>
42
43   <target name="run.unittest" depends="init"
44           description="Run calendar unit tests">
45       <ant antfile="${this.dir}/unittests/build.xml" inheritrefs="true"
46            target="unittest" />
47   </target>
48
49   <target name="synchmltest.initdb"
50           depends="init"
51           description="Run calendar synchml test init">
52       <ant antfile="${org.bedework.testsuite.base}/synchml/build.xml" inheritrefs="true"
53            target="synchmltest.initdb" />
54   </target>
55
56   <target name="synchmltest"
57           depends="init"
58           description="Run calendar synchml test">
59       <ant antfile="${org.bedework.testsuite.base}/synchml/build.xml" inheritrefs="true"
60            target="synchmltest" />
61   </target>
62
63   <!-- Clean out any generated files.
64     -->
65   <target name="bldclean" >
66   </target>
67 </project>
Note: See TracBrowser for help on using the browser.