blob: bd030a2e43836da0002c51a2a873a76d614d1b86 [file] [log] [blame]
david_williams6b5d0882008-07-05 08:03:22 +00001<project
2 name="Automated Eclipse Testing"
3 default="all"
4 basedir=".">
david_williams8e4dc9c2008-07-06 08:08:58 +00005 <property
6 environment="env"/>
7 <!-- required to get proper value of dropinsFolder -->
8 <property
9 name="keyCfgFile"
10 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
david_williamsd1184892008-07-07 02:45:47 +000011 <echo
12 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000013 message="keyCfgFile: ${keyCfgFile}"/>
14 <property
15 file="${keyCfgFile}"/>
david_williams6b5d0882008-07-05 08:03:22 +000016 <echo
17 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +000018 message="starting Automated Eclipse Testing"/>
david_williams6b5d0882008-07-05 08:03:22 +000019 <echo
20 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000021 message="basedir: ${basedir}"/>
david_williams6b5d0882008-07-05 08:03:22 +000022 <echo
23 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000024 message="testRoot: ${testRoot}"/>
david_williams6b5d0882008-07-05 08:03:22 +000025 <fail
26 message="testRoot must be set"
david_williams8e4dc9c2008-07-06 08:08:58 +000027 unless="testRoot"/>
david_williams6b5d0882008-07-05 08:03:22 +000028
29 <!--properties file containing the some server name properties -->
david_williams8e4dc9c2008-07-06 08:08:58 +000030 <property
31 file="${testRoot}/testServer.properties"/>
david_williams6b5d0882008-07-05 08:03:22 +000032
33 <!--properties file containing the build information-->
david_williams8e4dc9c2008-07-06 08:08:58 +000034 <property
35 file="${buildDirectory}/label.properties"/>
david_williams722ec9d2009-11-20 05:24:42 +000036 <!-- required to get proper value of dropinsFolder -->
37 <property
38 name="keyCfgFile"
39 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
40 <echo
41 level="debug"
42 message="keyCfgFile: ${keyCfgFile}"/>
43 <property
44 file="${keyCfgFile}"/>
david_williams6b5d0882008-07-05 08:03:22 +000045 <!--default directory where test-eclipse will be installed-->
46 <property
47 name="install"
david_williams8e4dc9c2008-07-06 08:08:58 +000048 value="${testRoot}"/>
49 <!--
50 name that can be added to report name to identify which platform
51 tests results come from
52 -->
david_williams6b5d0882008-07-05 08:03:22 +000053 <property
54 name="platform"
david_williams8e4dc9c2008-07-06 08:08:58 +000055 value=""/>
david_williams6b5d0882008-07-05 08:03:22 +000056
57 <!-- The root of the eclipse installation -->
58 <property
59 name="eclipse-home"
david_williams8e4dc9c2008-07-06 08:08:58 +000060 value="${testRoot}${dropinsFolder}/eclipse/"/>
61 <!--
62 The directory that will contain the xml and html results from
63 the tests that are run
64 -->
david_williams6b5d0882008-07-05 08:03:22 +000065 <property
66 name="results"
david_williams8e4dc9c2008-07-06 08:08:58 +000067 value="${testRoot}/results"/>
david_williams722ec9d2009-11-20 05:24:42 +000068 <property
69 name="library-file"
70 value="${testRoot}/wtp-junit-tests.xml"/>
david_williams6b5d0882008-07-05 08:03:22 +000071
72 <!-- jonas install directory -->
david_williams722ec9d2009-11-20 05:24:42 +000073 <!-- TODO: why do this twice? Here and in init? -->
david_williams6b5d0882008-07-05 08:03:22 +000074 <property
75 name="jonas432Dir"
david_williams8e4dc9c2008-07-06 08:08:58 +000076 value="${testRoot}/${jonas432DirName}"/>
77 <target
78 name="init">
79 <antcall
80 target="setPropertyJOnAS432Dir"/>
81 <antcall
82 target="computePluginVersion"/>
83 <property
84 file="${testRoot}/test2.properties"/>
david_williams6b5d0882008-07-05 08:03:22 +000085 </target>
david_williams6b5d0882008-07-05 08:03:22 +000086 <target
87 name="setPropertyJOnAS432Dir"
88 unless="jonas432Dir">
89 <property
90 name="jonas432Dir"
david_williams8e4dc9c2008-07-06 08:08:58 +000091 value="${testRoot}/${jonas432DirName}"/>
david_williams6b5d0882008-07-05 08:03:22 +000092 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +000093
94
david_williams6b5d0882008-07-05 08:03:22 +000095 <target
96 name="setup"
97 if="clean"
98 description="Reinstall the test Eclipse installation if specified by user">
david_williams8e4dc9c2008-07-06 08:08:58 +000099 <delete
100 dir="${install}"/>
101 <mkdir
102 dir="${install}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000103 <exec
104 dir="."
105 executable="unzip">
106 <arg
david_williams8e4dc9c2008-07-06 08:08:58 +0000107 line="-o -qq ../downloads/*.zip -d ${install}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000108 </exec>
david_williams8e4dc9c2008-07-06 08:08:58 +0000109 <exec
110 dir="."
111 executable="unzip">
112 <arg
113 line="-o -qq wtp-patches-tests-feature*.zip -d ${install}"/>
114 </exec>
david_williams6b5d0882008-07-05 08:03:22 +0000115 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000116 <target
117 name="runapitests"
118 depends="setup">
david_williams8e4dc9c2008-07-06 08:08:58 +0000119 <antcall
120 target="runtests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000121 </target>
122
david_williams8e4dc9c2008-07-06 08:08:58 +0000123
david_williams6b5d0882008-07-05 08:03:22 +0000124 <target
125 name="runtests"
126 depends="setup"
127 description="Runs ant on the test.xml for a specified plugin.">
128 <available
129 file="${eclipse-home}/plugins/${testPlugin}/test.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +0000130 property="test.xml.exists"/>
131 <antcall
132 target="runtests2"/>
david_williams6b5d0882008-07-05 08:03:22 +0000133 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000134 <target
135 name="runtests2"
136 if="test.xml.exists">
david_williams8e4dc9c2008-07-06 08:08:58 +0000137 <antcall
138 target="runtests-normal"/>
david_williams6b5d0882008-07-05 08:03:22 +0000139 <copy
140 file="${eclipse-home}/${report}.xml"
141 tofile="${results}/xml/${report}_${platform}.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +0000142 failonerror="false"/>
143 <antcall
144 target="genHtml"/>
david_williams6b5d0882008-07-05 08:03:22 +0000145 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +0000146 <target
147 name="runtests-normal">
david_williams6b5d0882008-07-05 08:03:22 +0000148 <ant
149 antfile="${eclipse-home}/plugins/${testPlugin}/test.xml"
150 dir="${eclipse-home}">
151 <property
152 name="library-file"
david_williams8e4dc9c2008-07-06 08:08:58 +0000153 value="${testRoot}/wtp-junit-tests.xml"/>
david_williams6b5d0882008-07-05 08:03:22 +0000154 </ant>
155 <copy
156 file="${eclipse-home}/${report}.xml"
157 tofile="${results}/xml/${report}_${platform}.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +0000158 failonerror="false"/>
159 <antcall
160 target="genHtml"/>
david_williams6b5d0882008-07-05 08:03:22 +0000161 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000162 <target
163 name="wst-server-tests"
164 depends="init"
165 description="Runs the org.eclipse.wst.server.*.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000166 <antcall
167 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000168 <param
169 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000170 value="${org.eclipse.wst.server.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000171 <param
172 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000173 value="org.eclipse.wst.server.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000174 <param
175 name="package.includes"
david_williams8e4dc9c2008-07-06 08:08:58 +0000176 value="org.eclipse.wst.server"/>
david_williams6b5d0882008-07-05 08:03:22 +0000177 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000178 <antcall
179 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000180 <param
181 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000182 value="${org.eclipse.wst.server.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000183 <param
184 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000185 value="org.eclipse.wst.server.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000186 <param
187 name="package.includes"
david_williams8e4dc9c2008-07-06 08:08:58 +0000188 value="org.eclipse.wst.server"/>
david_williams6b5d0882008-07-05 08:03:22 +0000189 </antcall>
190 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000191 <target
192 name="wst-monitor-tests"
193 depends="init"
194 description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000195 <antcall
196 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000197 <param
198 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000199 value="${org.eclipse.wst.internet.monitor.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000200 <param
201 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000202 value="org.eclipse.wst.internet.monitor.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000203 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000204 <antcall
205 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000206 <param
207 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000208 value="${org.eclipse.wst.internet.monitor.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000209 <param
210 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000211 value="org.eclipse.wst.internet.monitor.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000212 </antcall>
213 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000214 <target
215 name="wst-cache-tests"
216 depends="init"
217 description="Runs the org.eclipse.wst.internet.cache.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000218 <antcall
219 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000220 <param
221 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000222 value="${org.eclipse.wst.internet.cache.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000223 <param
224 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000225 value="org.eclipse.wst.internet.cache.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000226 </antcall>
227 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000228 <target
229 name="jst-server-tests"
230 depends="init"
231 description="Runs the org.eclipse.jst.server.*.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000232 <antcall
233 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000234 <param
235 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000236 value="${org.eclipse.jst.server.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000237 <param
238 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000239 value="org.eclipse.jst.server.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000240 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000241 <antcall
242 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000243 <param
244 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000245 value="${org.eclipse.jst.server.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000246 <param
247 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000248 value="org.eclipse.jst.server.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000249 </antcall>
250 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000251 <target
252 name="jst-server-tomcat-tests"
253 depends="init"
254 description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000255 <antcall
256 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000257 <param
258 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000259 value="${org.eclipse.jst.server.tomcat.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000260 <param
261 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000262 value="org.eclipse.jst.server.tomcat.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000263 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000264 <antcall
265 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000266 <param
267 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000268 value="${org.eclipse.jst.server.tomcat.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000269 <param
270 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000271 value="org.eclipse.jst.server.tomcat.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000272 </antcall>
273 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000274 <target
275 name="jst-server-generic-tests"
276 depends="init"
277 description="Runs the org.eclipse.jst.server.generic.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000278 <antcall
279 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000280 <param
281 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000282 value="${org.eclipse.jst.server.generic.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000283 <param
284 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000285 value="org.eclipse.jst.server.generic.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000286 </antcall>
287 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000288 <target
289 name="jst-server-geronimo-tests"
290 depends="init"
291 description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000292 <antcall
293 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000294 <param
295 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000296 value="${org.eclipse.jst.server.geronimo.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000297 <param
298 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000299 value="org.eclipse.jst.server.geronimo.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000300 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000301 <antcall
302 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000303 <param
304 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000305 value="${org.eclipse.jst.server.geronimo.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000306 <param
307 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000308 value="org.eclipse.jst.server.geronimo.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000309 </antcall>
310 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000311 <target
312 name="jst-jem-tests"
313 depends="init"
314 description="Runs the org.eclipse.jem.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000315 <antcall
316 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000317 <param
318 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000319 value="${org.eclipse.jem.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000320 <param
321 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000322 value="org.eclipse.jem.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000323 </antcall>
324 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000325 <target
326 name="jst-j2ee-core-tests"
327 depends="init"
328 description="Runs the org.eclipse.jst.j2ee.core.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000329 <antcall
330 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000331 <param
332 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000333 value="${org.eclipse.jst.j2ee.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000334 <param
335 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000336 value="org.eclipse.jst.j2ee.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000337 </antcall>
338 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000339 <target
340 name="jst-j2ee-tests"
341 depends="init"
342 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000343 <antcall
344 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000345 <param
346 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000347 value="${org.eclipse.jst.j2ee.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000348 <param
349 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000350 value="org.eclipse.jst.j2ee.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000351 </antcall>
352 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000353 <target
354 name="wst-common-tests"
355 depends="init"
356 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000357 <antcall
358 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000359 <param
360 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000361 value="${org.eclipse.wst.common.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000362 <param
363 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000364 value="org.eclipse.wst.common.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000365 </antcall>
366 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +0000367 <target
368 name="validation-framework-tests"
369 depends="init"
370 description="Runs the common validation tests">
371 <antcall
372 target="runtests">
373 <param
374 name="testPlugin"
375 value="${org.eclipse.wst.common.tests.validation}"/>
376 <param
377 name="report"
378 value="org.eclipse.wst.common.tests.validation"/>
379 </antcall>
380 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000381 <target
382 name="wst-common-snippets-tests"
383 depends="init">
david_williams8e4dc9c2008-07-06 08:08:58 +0000384 <antcall
385 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000386 <param
387 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000388 value="${org.eclipse.wst.common.snippets.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000389 <param
390 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000391 value="org.eclipse.wst.common.snippets.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000392 </antcall>
393 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000394 <target
395 name="jst-servlet-tests"
396 depends="init"
397 description="Runs the org.eclipse.jst.servlet.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000398 <antcall
399 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000400 <param
401 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000402 value="${org.eclipse.jst.servlet.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000403 <param
404 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000405 value="org.eclipse.jst.servlet.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000406 </antcall>
407 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000408 <target
409 name="jst-validation-framework-tests"
410 depends="init"
411 description="Runs the org.eclipse.jst.validation.test test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000412 <antcall
413 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000414 <param
415 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000416 value="${org.eclipse.jst.validation.test}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000417 <param
418 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000419 value="org.eclipse.jst.validation.test"/>
david_williams6b5d0882008-07-05 08:03:22 +0000420 </antcall>
421 </target>
422
423 <!-- JSP TESTS -->
424 <target
425 name="jst-jsp-tests"
426 depends="init"
427 description="Runs test.xml for JSP tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000428 <antcall
429 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000430 <param
431 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000432 value="${org.eclipse.jst.jsp.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000433 <param
434 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000435 value="org.eclipse.jst.jsp.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000436 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000437 <antcall
438 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000439 <param
440 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000441 value="${org.eclipse.jst.jsp.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000442 <param
443 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000444 value="org.eclipse.jst.jsp.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000445 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000446 <antcall
447 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000448 <param
449 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000450 value="${org.eclipse.jst.jsp.tests.encoding}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000451 <param
452 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000453 value="org.eclipse.jst.jsp.tests.encoding"/>
david_williams6b5d0882008-07-05 08:03:22 +0000454 </antcall>
455 </target>
456
457 <!-- SSE TESTS -->
458 <target
459 name="wst-sse-tests"
460 depends="init"
461 description="Runs test.xml for SSE tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000462 <antcall
463 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000464 <param
465 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000466 value="${org.eclipse.wst.sse.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000467 <param
468 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000469 value="org.eclipse.wst.sse.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000470 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000471 <antcall
472 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000473 <param
474 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000475 value="${org.eclipse.wst.sse.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000476 <param
477 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000478 value="org.eclipse.wst.sse.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000479 </antcall>
480 </target>
481
482 <!-- XML TESTS -->
483 <target
484 name="wst-xml-tests"
485 depends="init"
486 description="Runs test.xml for XML tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000487 <antcall
488 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000489 <param
490 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000491 value="${org.eclipse.wst.xml.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000492 <param
493 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000494 value="org.eclipse.wst.xml.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000495 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000496 <antcall
497 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000498 <param
499 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000500 value="${org.eclipse.wst.xml.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000501 <param
502 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000503 value="org.eclipse.wst.xml.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000504 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000505 <antcall
506 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000507 <param
508 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000509 value="${org.eclipse.wst.xml.tests.encoding}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000510 <param
511 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000512 value="org.eclipse.wst.xml.tests.encoding"/>
david_williams6b5d0882008-07-05 08:03:22 +0000513 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000514 <antcall
515 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000516 <param
517 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000518 value="${org.eclipse.wst.xml.validation.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000519 <param
520 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000521 value="org.eclipse.wst.xml.validation.tests"/>
522 </antcall>
523 <antcall
524 target="runtests">
525 <param
526 name="testPlugin"
527 value="${org.eclipse.wst.xml.catalog.tests}"/>
528 <param
529 name="report"
530 value="org.eclipse.wst.xml.catalog.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000531 </antcall>
532 </target>
533
534 <!-- WSDL TESTS -->
535 <target
536 name="wst-wsdl-tests"
537 depends="init"
538 description="Runs test.xml for WSDL ">
david_williams8e4dc9c2008-07-06 08:08:58 +0000539 <antcall
540 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000541 <param
542 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000543 value="${org.eclipse.wst.wsdl.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000544 <param
545 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000546 value="org.eclipse.wst.wsdl.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000547 <param
548 name="package.includes"
david_williams8e4dc9c2008-07-06 08:08:58 +0000549 value="org.eclipse.wst.wsdl"/>
david_williams6b5d0882008-07-05 08:03:22 +0000550 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000551 <antcall
552 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000553 <param
554 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000555 value="${org.eclipse.wst.wsdl.validation.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000556 <param
557 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000558 value="org.eclipse.wst.wsdl.validation.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000559 </antcall>
560 </target>
561
562 <!-- WSI TESTS -->
563 <target
564 name="wst-wsi-tests"
565 depends="init"
566 description="Runs test.xml for WSI tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000567 <antcall
568 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000569 <param
570 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000571 value="${org.eclipse.wst.wsi.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000572 <param
573 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000574 value="org.eclipse.wst.wsi.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000575 </antcall>
576 </target>
577
578 <!-- XSD TESTS -->
579 <target
580 name="wst-xsd-tests"
581 depends="init"
582 description="Runs test.xml for XSD tests ">
david_williams8e4dc9c2008-07-06 08:08:58 +0000583 <antcall
584 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000585 <param
586 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000587 value="${org.eclipse.wst.xsd.validation.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000588 <param
589 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000590 value="org.eclipse.wst.xsd.validation.tests"/>
591 </antcall>
592 <antcall
593 target="runtests">
594 <param
595 name="testPlugin"
596 value="${org.eclipse.wst.xsd.core.tests}"/>
597 <param
598 name="report"
599 value="org.eclipse.wst.xsd.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000600 </antcall>
601 </target>
602
603 <!-- HTML TESTS -->
604 <target
605 name="wst-html-tests"
606 depends="init"
607 description="Runs test.xml for HTML tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000608 <antcall
609 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000610 <param
611 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000612 value="${org.eclipse.wst.html.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000613 <param
614 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000615 value="org.eclipse.wst.html.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000616 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000617 <antcall
618 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000619 <param
620 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000621 value="${org.eclipse.wst.html.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000622 <param
623 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000624 value="org.eclipse.wst.html.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000625 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000626 <antcall
627 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000628 <param
629 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000630 value="${org.eclipse.wst.html.tests.encoding}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000631 <param
632 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000633 value="org.eclipse.wst.html.tests.encoding"/>
david_williams6b5d0882008-07-05 08:03:22 +0000634 </antcall>
635 </target>
636
637 <!-- DTD Tests -->
638 <target
639 name="wst-dtd-tests"
640 depends="init">
david_williams8e4dc9c2008-07-06 08:08:58 +0000641 <antcall
642 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000643 <param
644 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000645 value="${org.eclipse.wst.dtd.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000646 <param
647 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000648 value="org.eclipse.wst.dtd.ui.tests"/>
649 </antcall>
650 <antcall
651 target="runtests">
652 <param
653 name="testPlugin"
654 value="${org.eclipse.wst.dtd.core.tests}"/>
655 <param
656 name="report"
657 value="org.eclipse.wst.dtd.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000658 </antcall>
659 </target>
660
661 <!-- CSS TESTS -->
662 <target
663 name="wst-css-tests"
664 depends="init"
665 description="Runs test.xml for
666 org.eclipse.wst.css.core.tests
667 org.eclipse.wst.css.ui.tests
668 org.eclipse.wst.css.tests.encoding">
david_williams8e4dc9c2008-07-06 08:08:58 +0000669 <antcall
670 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000671 <param
672 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000673 value="${org.eclipse.wst.css.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000674 <param
675 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000676 value="org.eclipse.wst.css.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000677 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000678 <antcall
679 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000680 <param
681 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000682 value="${org.eclipse.wst.css.tests.encoding}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000683 <param
684 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000685 value="org.eclipse.wst.css.tests.encoding"/>
david_williams6b5d0882008-07-05 08:03:22 +0000686 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000687 <antcall
688 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000689 <param
690 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000691 value="${org.eclipse.wst.css.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000692 <param
693 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000694 value="org.eclipse.wst.css.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000695 </antcall>
696 </target>
697
698 <!-- JSF TESTS -->
699 <target
700 name="jsf-tests"
701 depends="init"
702 description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests">
david_williams8e4dc9c2008-07-06 08:08:58 +0000703 <antcall
704 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000705 <param
706 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000707 value="${org.eclipse.jst.jsf.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000708 <param
709 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000710 value="org.eclipse.jst.jsf.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000711 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000712 <antcall
713 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000714 <param
715 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000716 value="${org.eclipse.jst.jsf.ui.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000717 <param
718 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000719 value="org.eclipse.jst.jsf.ui.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000720 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000721 <antcall
722 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000723 <param
724 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000725 value="${org.eclipse.jst.jsf.metadata.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000726 <param
727 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000728 value="org.eclipse.jst.jsf.metadata.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000729 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000730 <antcall
731 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000732 <param
733 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000734 value="${org.eclipse.jst.jsf.contentassist.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000735 <param
736 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000737 value="org.eclipse.jst.jsf.contentassist.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000738 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000739 <antcall
740 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000741 <param
742 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000743 value="${org.eclipse.jst.jsf.context.symbol.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000744 <param
745 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000746 value="org.eclipse.jst.jsf.context.symbol.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000747 </antcall>
david_williams8e4dc9c2008-07-06 08:08:58 +0000748 <antcall
749 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000750 <param
751 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000752 value="${org.eclipse.jst.jsf.designtime.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000753 <param
754 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000755 value="org.eclipse.jst.jsf.designtime.tests"/>
756 </antcall>
757 <antcall
758 target="runtests">
759 <param
760 name="testPlugin"
761 value="${org.eclipse.jst.jsf.facesconfig.tests}"/>
762 <param
763 name="report"
764 value="org.eclipse.jst.jsf.facesconfig.tests"/>
765 </antcall>
766 <antcall
767 target="runtests">
768 <param
769 name="testPlugin"
770 value="${org.eclipse.jst.jsf.facesconfig.ui.test}"/>
771 <param
772 name="report"
773 value="org.eclipse.jst.jsf.facesconfig.ui.test"/>
774 </antcall>
775 <antcall
776 target="runtests">
777 <param
778 name="testPlugin"
779 value="${org.eclipse.jst.jsf.validation.el.tests}"/>
780 <param
781 name="report"
782 value="org.eclipse.jst.jsf.validation.el.tests"/>
783 </antcall>
784 <antcall
785 target="runtests">
786 <param
787 name="testPlugin"
788 value="${org.eclipse.jst.pagedesigner.tests}"/>
789 <param
790 name="report"
791 value="org.eclipse.jst.pagedesigner.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000792 </antcall>
793 </target>
794
795 <!-- WS TESTS -->
david_williams6b5d0882008-07-05 08:03:22 +0000796 <target
797 name="wst-ws-tests"
798 depends="init"
799 description="Runs the org.eclipse.wst.ws.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000800 <antcall
801 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000802 <param
803 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000804 value="${org.eclipse.wst.ws.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000805 <param
806 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000807 value="org.eclipse.wst.ws.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000808 </antcall>
809 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000810 <target
811 name="jst-ws-tests"
812 depends="init"
813 description="Runs the org.eclipse.jst.ws.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000814 <antcall
815 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000816 <param
817 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000818 value="${org.eclipse.jst.ws.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000819 <param
820 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000821 value="org.eclipse.jst.ws.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000822 </antcall>
823 </target>
824
825 <!-- Faceted Project Framework Tests -->
david_williams6b5d0882008-07-05 08:03:22 +0000826 <target
827 name="wst-facets-tests"
828 depends="init"
829 description="Runs the Faceted Project Framework tests.">
david_williams8e4dc9c2008-07-06 08:08:58 +0000830 <antcall
831 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000832 <param
833 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000834 value="${org.eclipse.wst.common.project.facet.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000835 <param
836 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000837 value="org.eclipse.wst.common.project.facet.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000838 </antcall>
839 </target>
840
841 <!-- Dali tests -->
842 <target
843 name="jpt-utility-tests"
844 depends="init"
845 description="Runs the org.eclipse.jpt.utility.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000846 <antcall
847 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000848 <param
849 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000850 value="${org.eclipse.jpt.utility.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000851 <param
852 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000853 value="org.eclipse.jpt.utility.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000854 </antcall>
855 </target>
856 <target
857 name="dali-core-tests"
858 description="Runs the org.eclipse.jpt.core.tests test.xml">
david_williams8e4dc9c2008-07-06 08:08:58 +0000859 <antcall
860 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000861 <param
862 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000863 value="${org.eclipse.jpt.core.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000864 <param
865 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000866 value="org.eclipse.jpt.core.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000867 </antcall>
868 </target>
869
david_williams8e4dc9c2008-07-06 08:08:58 +0000870 <!-- JSDT tests -->
871 <target
872 name="jsdt-tests"
873 depends="init"
874 description="Runs the org.eclipse.wst.jsdt.core.test.* test.xml">
875 <antcall
876 target="runtests">
877 <param
878 name="testPlugin"
879 value="${org.eclipse.wst.jsdt.core.tests.compiler}"/>
880 <param
881 name="report"
882 value="org.eclipse.wst.jsdt.core.tests.compiler"/>
883 </antcall>
884 <antcall
885 target="runtests">
886 <param
887 name="testPlugin"
888 value="${org.eclipse.wst.jsdt.core.tests.model}"/>
889 <param
890 name="report"
891 value="org.eclipse.wst.jsdt.core.tests.model"/>
892 </antcall>
893 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000894
david_williams8e4dc9c2008-07-06 08:08:58 +0000895
896 <!-- releng Tests -->
david_williams6b5d0882008-07-05 08:03:22 +0000897 <target
898 name="releng-tests"
899 depends="init"
900 description="Runs the releng tests.">
david_williams8e4dc9c2008-07-06 08:08:58 +0000901 <antcall
902 target="runtests">
david_williams6b5d0882008-07-05 08:03:22 +0000903 <param
904 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000905 value="${org.eclipse.wtp.releng.tests}"/>
david_williams6b5d0882008-07-05 08:03:22 +0000906 <param
907 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000908 value="org.eclipse.wtp.releng.tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000909 </antcall>
910 </target>
david_williams6b5d0882008-07-05 08:03:22 +0000911 <target
912 name="all"
913 depends="init">
david_williams6b5d0882008-07-05 08:03:22 +0000914 <echo
915 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000916 message="Starting WTP Unit Tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000917 <echo
918 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000919 message="Starting releng tests"/>
920 <antcall
921 target="releng-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000922 <echo
923 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000924 message="Starting wst-server-tests"/>
925 <antcall
926 target="wst-server-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000927 <echo
928 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000929 message="Starting wst-monitor-tests"/>
930 <antcall
931 target="wst-monitor-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000932 <echo
933 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000934 message="Starting wst-cache-tests"/>
935 <antcall
936 target="wst-cache-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000937 <echo
938 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000939 message="Starting wst-common-tests"/>
940 <antcall
941 target="wst-common-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000942 <echo
943 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000944 message="Starting validation-framework-tests"/>
945 <antcall
946 target="validation-framework-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000947 <echo
948 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000949 message="Starting wst-common-snippets-tests"/>
950 <antcall
951 target="wst-common-snippets-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000952 <echo
953 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000954 message="Starting wst-sse-tests"/>
955 <antcall
956 target="wst-sse-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000957 <echo
958 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000959 message="Starting wst-xml-tests"/>
960 <antcall
961 target="wst-xml-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000962 <echo
963 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000964 message="Starting wst-wsdl-tests"/>
965 <antcall
966 target="wst-wsdl-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000967 <echo
968 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000969 message="Starting wst-wsi-tests"/>
970 <antcall
971 target="wst-wsi-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000972 <echo
973 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000974 message="Starting wst-xsd-tests"/>
975 <antcall
976 target="wst-xsd-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000977 <echo
978 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000979 message="Starting wst-html-tests"/>
980 <antcall
981 target="wst-html-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000982 <echo
983 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000984 message="Starting wst-dtd-tests"/>
985 <antcall
986 target="wst-dtd-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000987 <echo
988 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000989 message="Starting wst-css-tests"/>
990 <antcall
991 target="wst-css-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000992 <echo
993 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000994 message="Starting wst-ws-tests"/>
995 <antcall
996 target="wst-ws-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +0000997 <echo
998 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000999 message="Starting jst-server-tests"/>
1000 <antcall
1001 target="jst-server-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001002 <echo
1003 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001004 message="Starting jst-server-tomcat-tests"/>
1005 <antcall
1006 target="jst-server-tomcat-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001007 <echo
1008 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001009 message="Starting jst-server-geronimo-tests"/>
1010 <antcall
1011 target="jst-server-geronimo-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001012 <echo
1013 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001014 message="Starting jst-server-generic-tests"/>
1015 <antcall
1016 target="jst-server-generic-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001017 <echo
1018 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001019 message="Starting jst-jem-tests"/>
1020 <antcall
1021 target="jst-jem-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001022 <echo
1023 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001024 message="Starting jst-j2ee-core-tests"/>
1025 <antcall
1026 target="jst-j2ee-core-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001027 <echo
1028 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001029 message="Starting jst-j2ee-tests"/>
1030 <antcall
1031 target="jst-j2ee-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001032 <echo
1033 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001034 message="Starting jst-validation-framework-tests"/>
1035 <antcall
1036 target="jst-validation-framework-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001037 <echo
1038 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001039 message="Starting jst-jsp-tests"/>
1040 <antcall
1041 target="jst-jsp-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001042 <echo
1043 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001044 message="Starting jst-ws-tests"/>
1045 <antcall
1046 target="jst-ws-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001047 <echo
1048 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001049 message="Starting wst-facets-tests"/>
1050 <antcall
1051 target="wst-facets-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001052 <echo
1053 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001054 message="Starting JPT Unit Tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001055 <echo
1056 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001057 message="Starting jpt-utility-tests"/>
1058 <antcall
1059 target="jpt-utility-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001060 <echo
1061 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001062 message="Starting dali-core-tests"/>
1063 <antcall
1064 target="dali-core-tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001065 <echo
1066 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001067 message="Ended JPT Unit Tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001068 <echo
1069 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001070 message="Starting JSF Tests"/>
1071 <antcall
1072 target="jsf-tests"/>
1073 <echo
1074 level="info"
1075 message="Ended WTP Unit Tests"/>
1076 <echo
1077 level="info"
1078 message="Starting JSDT Tests"/>
1079 <antcall
1080 target="jsdt-tests"/>
1081 <echo
1082 level="info"
1083 message="Ended JSDT Unit Tests"/>
david_williams6b5d0882008-07-05 08:03:22 +00001084 </target>
david_williams6b5d0882008-07-05 08:03:22 +00001085 <target
1086 name="genHtml"
1087 description="Generates HTML results with provided JUNIT.XSL provided"
1088 unless="genHtml.disable">
1089 <xslt
1090 style="JUNIT.XSL"
1091 basedir="${results}/xml"
david_williams8e4dc9c2008-07-06 08:08:58 +00001092 destdir="${results}/html"/>
david_williams6b5d0882008-07-05 08:03:22 +00001093 </target>
david_williams6b5d0882008-07-05 08:03:22 +00001094 <target
1095 name="computePluginVersion"
1096 depends="test2properties"
1097 unless="test2propertiesexists">
1098 <java
1099 classname="org.eclipse.wtp.releng.test.ComputePluginVersion">
1100 <classpath>
david_williams8e4dc9c2008-07-06 08:08:58 +00001101 <pathelement
1102 location="ComputePluginVersion.jar"/>
david_williams6b5d0882008-07-05 08:03:22 +00001103 </classpath>
david_williams8e4dc9c2008-07-06 08:08:58 +00001104 <arg
1105 value="${eclipse-home}/plugins"/>
1106 <arg
1107 value="${testRoot}/test2.properties"/>
1108 <jvmarg
1109 value="-Djava.io.tmpdir=${env.RECOMMENDED_TMP_DIR}"/>
david_williams6b5d0882008-07-05 08:03:22 +00001110 </java>
1111 </target>
david_williams8e4dc9c2008-07-06 08:08:58 +00001112 <target
1113 name="test2properties">
1114 <condition
1115 property="test2propertiesexists">
1116 <available
1117 file="${testRoot}/test2.properties"/>
david_williams6b5d0882008-07-05 08:03:22 +00001118 </condition>
1119 </target>
1120</project>