blob: 41c349ec08b7e09c86288d6758d14789714dfc3c [file] [log] [blame]
david_williams403beae2007-12-09 02:10:40 +00001<project
2 name="Automated Eclipse Testing"
3 default="all"
4 basedir=".">
david_williams43089362008-03-25 05:43:38 +00005 <property
david_williams8e4dc9c2008-07-06 08:08:58 +00006 environment="env"/>
david_williams9b288622009-07-20 02:51:25 +00007 <!-- required to get proper value of dropinsFolder -->
david_williams8e4dc9c2008-07-06 08:08:58 +00008 <property
9 name="keyCfgFile"
10 value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/>
11 <echo
david_williamsd1184892008-07-07 02:45:47 +000012 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000013 message="keyCfgFile: ${keyCfgFile}"/>
14 <property
15 file="${keyCfgFile}"/>
david_williams403beae2007-12-09 02:10:40 +000016 <echo
david_williamsd1184892008-07-07 02:45:47 +000017 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000018 message="starting Automated Eclipse Testing"/>
david_williams403beae2007-12-09 02:10:40 +000019 <echo
20 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000021 message="basedir: ${basedir}"/>
david_williams403beae2007-12-09 02:10:40 +000022 <echo
23 level="debug"
david_williams8e4dc9c2008-07-06 08:08:58 +000024 message="testRoot: ${testRoot}"/>
david_williams403beae2007-12-09 02:10:40 +000025 <fail
26 message="testRoot must be set"
david_williams8e4dc9c2008-07-06 08:08:58 +000027 unless="testRoot"/>
david_williams535d6812007-03-29 06:46:26 +000028
david_williams403beae2007-12-09 02:10:40 +000029 <!--properties file containing the some server name properties -->
david_williams222a9472008-01-26 22:06:59 +000030 <property
david_williams8e4dc9c2008-07-06 08:08:58 +000031 file="${testRoot}/testServer.properties"/>
ndaib8cedc82005-09-13 18:00:32 +000032
david_williams403beae2007-12-09 02:10:40 +000033 <!--properties file containing the build information-->
david_williams222a9472008-01-26 22:06:59 +000034 <property
david_williams8e4dc9c2008-07-06 08:08:58 +000035 file="${buildDirectory}/label.properties"/>
ndaib8cedc82005-09-13 18:00:32 +000036
david_williams403beae2007-12-09 02:10:40 +000037 <!--default directory where test-eclipse will be installed-->
38 <property
39 name="install"
david_williams8e4dc9c2008-07-06 08:08:58 +000040 value="${testRoot}"/>
41 <!--
42 name that can be added to report name to identify which platform
43 tests results come from
44 -->
david_williams403beae2007-12-09 02:10:40 +000045 <property
46 name="platform"
david_williams8e4dc9c2008-07-06 08:08:58 +000047 value=""/>
ndaib8cedc82005-09-13 18:00:32 +000048
david_williams403beae2007-12-09 02:10:40 +000049 <!-- The root of the eclipse installation -->
50 <property
51 name="eclipse-home"
david_williams8e4dc9c2008-07-06 08:08:58 +000052 value="${testRoot}${dropinsFolder}/eclipse/"/>
53 <!--
54 The directory that will contain the xml and html results from
55 the tests that are run
56 -->
david_williams403beae2007-12-09 02:10:40 +000057 <property
58 name="results"
david_williams8e4dc9c2008-07-06 08:08:58 +000059 value="${testRoot}/results"/>
ndaib8cedc82005-09-13 18:00:32 +000060
david_williams403beae2007-12-09 02:10:40 +000061 <!-- jonas install directory -->
62 <property
63 name="jonas432Dir"
david_williams8e4dc9c2008-07-06 08:08:58 +000064 value="${testRoot}/${jonas432DirName}"/>
david_williams222a9472008-01-26 22:06:59 +000065 <target
66 name="init">
67 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +000068 target="setPropertyJOnAS432Dir"/>
david_williams222a9472008-01-26 22:06:59 +000069 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +000070 target="computePluginVersion"/>
david_williams222a9472008-01-26 22:06:59 +000071 <property
david_williams8e4dc9c2008-07-06 08:08:58 +000072 file="${testRoot}/test2.properties"/>
david_williams403beae2007-12-09 02:10:40 +000073 </target>
david_williams403beae2007-12-09 02:10:40 +000074 <target
75 name="setPropertyJOnAS432Dir"
76 unless="jonas432Dir">
77 <property
78 name="jonas432Dir"
david_williams8e4dc9c2008-07-06 08:08:58 +000079 value="${testRoot}/${jonas432DirName}"/>
david_williams403beae2007-12-09 02:10:40 +000080 </target>
david_williams403beae2007-12-09 02:10:40 +000081 <target
82 name="runtests"
david_williams403beae2007-12-09 02:10:40 +000083 description="Runs ant on the test.xml for a specified plugin.">
84 <available
85 file="${eclipse-home}/plugins/${testPlugin}/test.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +000086 property="test.xml.exists"/>
david_williams222a9472008-01-26 22:06:59 +000087 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +000088 target="runtests2"/>
david_williams403beae2007-12-09 02:10:40 +000089 </target>
david_williams403beae2007-12-09 02:10:40 +000090 <target
91 name="runtests2"
92 if="test.xml.exists">
david_williams222a9472008-01-26 22:06:59 +000093 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +000094 target="runtests-normal"/>
david_williams403beae2007-12-09 02:10:40 +000095 <copy
96 file="${eclipse-home}/${report}.xml"
97 tofile="${results}/xml/${report}_${platform}.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +000098 failonerror="false"/>
david_williams222a9472008-01-26 22:06:59 +000099 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000100 target="genHtml"/>
david_williams403beae2007-12-09 02:10:40 +0000101 </target>
david_williams222a9472008-01-26 22:06:59 +0000102 <target
103 name="runtests-normal">
david_williams403beae2007-12-09 02:10:40 +0000104 <ant
105 antfile="${eclipse-home}/plugins/${testPlugin}/test.xml"
106 dir="${eclipse-home}">
107 <property
108 name="library-file"
david_williams8e4dc9c2008-07-06 08:08:58 +0000109 value="${testRoot}/wtp-junit-tests.xml"/>
david_williams403beae2007-12-09 02:10:40 +0000110 </ant>
111 <copy
112 file="${eclipse-home}/${report}.xml"
113 tofile="${results}/xml/${report}_${platform}.xml"
david_williams8e4dc9c2008-07-06 08:08:58 +0000114 failonerror="false"/>
david_williams222a9472008-01-26 22:06:59 +0000115 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000116 target="genHtml"/>
david_williams403beae2007-12-09 02:10:40 +0000117 </target>
david_williams403beae2007-12-09 02:10:40 +0000118 <target
119 name="wst-server-tests"
120 depends="init"
121 description="Runs the org.eclipse.wst.server.*.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000122 <antcall
david_williamsfe1d0922008-03-25 03:01:25 +0000123 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000124 <param
125 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000126 value="${org.eclipse.wst.server.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000127 <param
128 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000129 value="org.eclipse.wst.server.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000130 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000131 <antcall
david_williamsfe1d0922008-03-25 03:01:25 +0000132 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000133 <param
134 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000135 value="${org.eclipse.wst.server.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000136 <param
137 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000138 value="org.eclipse.wst.server.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000139 </antcall>
140 </target>
david_williams403beae2007-12-09 02:10:40 +0000141 <target
142 name="wst-monitor-tests"
143 depends="init"
144 description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000145 <antcall
146 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000147 <param
148 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000149 value="${org.eclipse.wst.internet.monitor.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000150 <param
151 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000152 value="org.eclipse.wst.internet.monitor.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000153 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000154 <antcall
155 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000156 <param
157 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000158 value="${org.eclipse.wst.internet.monitor.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000159 <param
160 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000161 value="org.eclipse.wst.internet.monitor.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000162 </antcall>
163 </target>
david_williams403beae2007-12-09 02:10:40 +0000164 <target
165 name="wst-cache-tests"
166 depends="init"
167 description="Runs the org.eclipse.wst.internet.cache.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000168 <antcall
169 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000170 <param
171 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000172 value="${org.eclipse.wst.internet.cache.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000173 <param
174 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000175 value="org.eclipse.wst.internet.cache.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000176 </antcall>
177 </target>
david_williams403beae2007-12-09 02:10:40 +0000178 <target
179 name="jst-server-tests"
180 depends="init"
181 description="Runs the org.eclipse.jst.server.*.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000182 <antcall
183 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000184 <param
185 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000186 value="${org.eclipse.jst.server.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000187 <param
188 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000189 value="org.eclipse.jst.server.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000190 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000191 <antcall
192 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000193 <param
194 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000195 value="${org.eclipse.jst.server.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000196 <param
197 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000198 value="org.eclipse.jst.server.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000199 </antcall>
200 </target>
david_williams403beae2007-12-09 02:10:40 +0000201 <target
202 name="jst-server-tomcat-tests"
203 depends="init"
204 description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000205 <antcall
206 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000207 <param
208 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000209 value="${org.eclipse.jst.server.tomcat.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000210 <param
211 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000212 value="org.eclipse.jst.server.tomcat.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000213 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000214 <antcall
215 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000216 <param
217 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000218 value="${org.eclipse.jst.server.tomcat.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000219 <param
220 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000221 value="org.eclipse.jst.server.tomcat.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000222 </antcall>
223 </target>
david_williams403beae2007-12-09 02:10:40 +0000224 <target
225 name="jst-server-generic-tests"
226 depends="init"
227 description="Runs the org.eclipse.jst.server.generic.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000228 <antcall
229 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000230 <param
231 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000232 value="${org.eclipse.jst.server.generic.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000233 <param
234 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000235 value="org.eclipse.jst.server.generic.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000236 </antcall>
237 </target>
david_williams403beae2007-12-09 02:10:40 +0000238 <target
239 name="jst-server-geronimo-tests"
240 depends="init"
241 description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000242 <antcall
243 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000244 <param
245 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000246 value="${org.eclipse.jst.server.geronimo.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000247 <param
248 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000249 value="org.eclipse.jst.server.geronimo.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000250 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000251 <antcall
252 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000253 <param
254 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000255 value="${org.eclipse.jst.server.geronimo.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000256 <param
257 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000258 value="org.eclipse.jst.server.geronimo.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000259 </antcall>
260 </target>
david_williams403beae2007-12-09 02:10:40 +0000261 <target
262 name="jst-jem-tests"
263 depends="init"
264 description="Runs the org.eclipse.jem.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000265 <antcall
266 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000267 <param
268 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000269 value="${org.eclipse.jem.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000270 <param
271 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000272 value="org.eclipse.jem.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000273 </antcall>
274 </target>
david_williams403beae2007-12-09 02:10:40 +0000275 <target
276 name="jst-j2ee-core-tests"
277 depends="init"
278 description="Runs the org.eclipse.jst.j2ee.core.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000279 <antcall
280 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000281 <param
282 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000283 value="${org.eclipse.jst.j2ee.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000284 <param
285 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000286 value="org.eclipse.jst.j2ee.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000287 </antcall>
288 </target>
david_williams403beae2007-12-09 02:10:40 +0000289 <target
290 name="jst-j2ee-tests"
291 depends="init"
292 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000293 <antcall
294 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000295 <param
296 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000297 value="${org.eclipse.jst.j2ee.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000298 <param
299 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000300 value="org.eclipse.jst.j2ee.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000301 </antcall>
302 </target>
david_williams403beae2007-12-09 02:10:40 +0000303 <target
304 name="wst-common-tests"
305 depends="init"
306 description="Runs the org.eclipse.jst.j2ee.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000307 <antcall
308 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000309 <param
310 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000311 value="${org.eclipse.wst.common.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000312 <param
313 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000314 value="org.eclipse.wst.common.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000315 </antcall>
316 </target>
david_williams43089362008-03-25 05:43:38 +0000317 <target
318 name="validation-framework-tests"
319 depends="init"
320 description="Runs the common validation tests">
321 <antcall
322 target="runtests">
323 <param
324 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000325 value="${org.eclipse.wst.common.tests.validation}"/>
david_williams43089362008-03-25 05:43:38 +0000326 <param
327 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000328 value="org.eclipse.wst.common.tests.validation"/>
david_williams43089362008-03-25 05:43:38 +0000329 </antcall>
330 </target>
david_williams403beae2007-12-09 02:10:40 +0000331 <target
332 name="wst-common-snippets-tests"
333 depends="init">
david_williams222a9472008-01-26 22:06:59 +0000334 <antcall
335 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000336 <param
337 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000338 value="${org.eclipse.wst.common.snippets.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000339 <param
340 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000341 value="org.eclipse.wst.common.snippets.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000342 </antcall>
343 </target>
david_williams403beae2007-12-09 02:10:40 +0000344 <target
345 name="jst-servlet-tests"
346 depends="init"
347 description="Runs the org.eclipse.jst.servlet.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000348 <antcall
349 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000350 <param
351 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000352 value="${org.eclipse.jst.servlet.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000353 <param
354 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000355 value="org.eclipse.jst.servlet.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000356 </antcall>
357 </target>
david_williams403beae2007-12-09 02:10:40 +0000358 <target
359 name="jst-validation-framework-tests"
360 depends="init"
361 description="Runs the org.eclipse.jst.validation.test test.xml">
david_williams222a9472008-01-26 22:06:59 +0000362 <antcall
363 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000364 <param
365 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000366 value="${org.eclipse.jst.validation.test}"/>
david_williams403beae2007-12-09 02:10:40 +0000367 <param
368 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000369 value="org.eclipse.jst.validation.test"/>
david_williams403beae2007-12-09 02:10:40 +0000370 </antcall>
371 </target>
ndaib8cedc82005-09-13 18:00:32 +0000372
david_williams403beae2007-12-09 02:10:40 +0000373 <!-- JSP TESTS -->
374 <target
375 name="jst-jsp-tests"
376 depends="init"
377 description="Runs test.xml for JSP tests">
david_williams222a9472008-01-26 22:06:59 +0000378 <antcall
379 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000380 <param
381 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000382 value="${org.eclipse.jst.jsp.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000383 <param
384 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000385 value="org.eclipse.jst.jsp.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000386 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000387 <antcall
388 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000389 <param
390 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000391 value="${org.eclipse.jst.jsp.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000392 <param
393 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000394 value="org.eclipse.jst.jsp.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000395 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000396 <antcall
397 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000398 <param
399 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000400 value="${org.eclipse.jst.jsp.tests.encoding}"/>
david_williams403beae2007-12-09 02:10:40 +0000401 <param
402 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000403 value="org.eclipse.jst.jsp.tests.encoding"/>
david_williams403beae2007-12-09 02:10:40 +0000404 </antcall>
405 </target>
ndaib8cedc82005-09-13 18:00:32 +0000406
david_williams403beae2007-12-09 02:10:40 +0000407 <!-- SSE TESTS -->
408 <target
409 name="wst-sse-tests"
410 depends="init"
411 description="Runs test.xml for SSE tests">
david_williams222a9472008-01-26 22:06:59 +0000412 <antcall
413 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000414 <param
415 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000416 value="${org.eclipse.wst.sse.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000417 <param
418 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000419 value="org.eclipse.wst.sse.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000420 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000421 <antcall
422 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000423 <param
424 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000425 value="${org.eclipse.wst.sse.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000426 <param
427 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000428 value="org.eclipse.wst.sse.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000429 </antcall>
430 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000431
david_williams403beae2007-12-09 02:10:40 +0000432 <!-- XML TESTS -->
433 <target
434 name="wst-xml-tests"
435 depends="init"
436 description="Runs test.xml for XML tests">
david_williams222a9472008-01-26 22:06:59 +0000437 <antcall
438 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000439 <param
440 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000441 value="${org.eclipse.wst.xml.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000442 <param
443 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000444 value="org.eclipse.wst.xml.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000445 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000446 <antcall
447 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000448 <param
449 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000450 value="${org.eclipse.wst.xml.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000451 <param
452 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000453 value="org.eclipse.wst.xml.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000454 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000455 <antcall
456 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000457 <param
458 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000459 value="${org.eclipse.wst.xml.tests.encoding}"/>
david_williams403beae2007-12-09 02:10:40 +0000460 <param
461 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000462 value="org.eclipse.wst.xml.tests.encoding"/>
david_williams403beae2007-12-09 02:10:40 +0000463 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000464 <antcall
465 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000466 <param
467 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000468 value="${org.eclipse.wst.xml.validation.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000469 <param
470 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000471 value="org.eclipse.wst.xml.validation.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000472 </antcall>
david_williams2e61cc92008-05-09 23:46:15 +0000473 <antcall
474 target="runtests">
475 <param
476 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000477 value="${org.eclipse.wst.xml.catalog.tests}"/>
david_williams2e61cc92008-05-09 23:46:15 +0000478 <param
479 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000480 value="org.eclipse.wst.xml.catalog.tests"/>
481 </antcall>
david_williams403beae2007-12-09 02:10:40 +0000482 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000483
david_williams403beae2007-12-09 02:10:40 +0000484 <!-- WSDL TESTS -->
485 <target
486 name="wst-wsdl-tests"
487 depends="init"
488 description="Runs test.xml for WSDL ">
david_williams222a9472008-01-26 22:06:59 +0000489 <antcall
david_williamsfe1d0922008-03-25 03:01:25 +0000490 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000491 <param
492 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000493 value="${org.eclipse.wst.wsdl.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000494 <param
495 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000496 value="org.eclipse.wst.wsdl.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000497 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000498 <antcall
499 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000500 <param
501 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000502 value="${org.eclipse.wst.wsdl.validation.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000503 <param
504 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000505 value="org.eclipse.wst.wsdl.validation.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000506 </antcall>
david_williamsf7970f02008-07-26 18:10:01 +0000507 <antcall
508 target="runtests">
509 <param
510 name="testPlugin"
511 value="${org.eclipse.wst.wsdl.ui.tests}"/>
512 <param
513 name="report"
514 value="org.eclipse.wst.wsdl.ui.tests"/>
515 </antcall>
david_williams403beae2007-12-09 02:10:40 +0000516 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000517
david_williams403beae2007-12-09 02:10:40 +0000518 <!-- WSI TESTS -->
519 <target
520 name="wst-wsi-tests"
521 depends="init"
522 description="Runs test.xml for WSI tests">
david_williams222a9472008-01-26 22:06:59 +0000523 <antcall
524 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000525 <param
526 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000527 value="${org.eclipse.wst.wsi.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000528 <param
529 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000530 value="org.eclipse.wst.wsi.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000531 </antcall>
532 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000533
david_williams403beae2007-12-09 02:10:40 +0000534 <!-- XSD TESTS -->
535 <target
536 name="wst-xsd-tests"
537 depends="init"
538 description="Runs test.xml for XSD tests ">
david_williams222a9472008-01-26 22:06:59 +0000539 <antcall
540 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000541 <param
542 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000543 value="${org.eclipse.wst.xsd.validation.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000544 <param
545 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000546 value="org.eclipse.wst.xsd.validation.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000547 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000548 <antcall
549 target="runtests">
david_williamsf5848192008-01-15 21:39:00 +0000550 <param
551 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000552 value="${org.eclipse.wst.xsd.core.tests}"/>
david_williamsf5848192008-01-15 21:39:00 +0000553 <param
554 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000555 value="org.eclipse.wst.xsd.core.tests"/>
david_williamsf5848192008-01-15 21:39:00 +0000556 </antcall>
david_williamsf7970f02008-07-26 18:10:01 +0000557 <antcall
558 target="runtests">
559 <param
560 name="testPlugin"
561 value="${org.eclipse.wst.xsd.ui.tests}"/>
562 <param
563 name="report"
564 value="org.eclipse.wst.xsd.ui.tests"/>
565 </antcall>
david_williams403beae2007-12-09 02:10:40 +0000566 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000567
david_williams403beae2007-12-09 02:10:40 +0000568 <!-- HTML TESTS -->
569 <target
570 name="wst-html-tests"
571 depends="init"
572 description="Runs test.xml for HTML tests">
david_williams222a9472008-01-26 22:06:59 +0000573 <antcall
574 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000575 <param
576 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000577 value="${org.eclipse.wst.html.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000578 <param
579 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000580 value="org.eclipse.wst.html.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000581 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000582 <antcall
583 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000584 <param
585 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000586 value="${org.eclipse.wst.html.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000587 <param
588 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000589 value="org.eclipse.wst.html.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000590 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000591 <antcall
592 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000593 <param
594 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000595 value="${org.eclipse.wst.html.tests.encoding}"/>
david_williams403beae2007-12-09 02:10:40 +0000596 <param
597 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000598 value="org.eclipse.wst.html.tests.encoding"/>
david_williams403beae2007-12-09 02:10:40 +0000599 </antcall>
600 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000601
david_williams403beae2007-12-09 02:10:40 +0000602 <!-- DTD Tests -->
603 <target
604 name="wst-dtd-tests"
605 depends="init">
david_williams222a9472008-01-26 22:06:59 +0000606 <antcall
607 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000608 <param
609 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000610 value="${org.eclipse.wst.dtd.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000611 <param
612 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000613 value="org.eclipse.wst.dtd.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000614 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000615 <antcall
616 target="runtests">
david_williams5b616312008-01-17 05:55:44 +0000617 <param
618 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000619 value="${org.eclipse.wst.dtd.core.tests}"/>
david_williams5b616312008-01-17 05:55:44 +0000620 <param
621 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000622 value="org.eclipse.wst.dtd.core.tests"/>
david_williams5b616312008-01-17 05:55:44 +0000623 </antcall>
david_williams403beae2007-12-09 02:10:40 +0000624 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000625
david_williams403beae2007-12-09 02:10:40 +0000626 <!-- CSS TESTS -->
627 <target
628 name="wst-css-tests"
629 depends="init"
630 description="Runs test.xml for
david_williams9d23a9d2007-03-16 02:23:53 +0000631 org.eclipse.wst.css.core.tests
632 org.eclipse.wst.css.ui.tests
633 org.eclipse.wst.css.tests.encoding">
david_williams222a9472008-01-26 22:06:59 +0000634 <antcall
635 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000636 <param
637 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000638 value="${org.eclipse.wst.css.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000639 <param
640 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000641 value="org.eclipse.wst.css.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000642 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000643 <antcall
644 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000645 <param
646 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000647 value="${org.eclipse.wst.css.tests.encoding}"/>
david_williams403beae2007-12-09 02:10:40 +0000648 <param
649 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000650 value="org.eclipse.wst.css.tests.encoding"/>
david_williams403beae2007-12-09 02:10:40 +0000651 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000652 <antcall
653 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000654 <param
655 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000656 value="${org.eclipse.wst.css.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000657 <param
658 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000659 value="org.eclipse.wst.css.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000660 </antcall>
661 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000662
david_williams403beae2007-12-09 02:10:40 +0000663 <!-- JSF TESTS -->
664 <target
665 name="jsf-tests"
666 depends="init"
667 description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests">
david_williams222a9472008-01-26 22:06:59 +0000668 <antcall
669 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000670 <param
671 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000672 value="${org.eclipse.jst.jsf.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000673 <param
674 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000675 value="org.eclipse.jst.jsf.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000676 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000677 <antcall
678 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000679 <param
680 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000681 value="${org.eclipse.jst.jsf.ui.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000682 <param
683 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000684 value="org.eclipse.jst.jsf.ui.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000685 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000686 <antcall
687 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000688 <param
689 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000690 value="${org.eclipse.jst.jsf.metadata.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000691 <param
692 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000693 value="org.eclipse.jst.jsf.metadata.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000694 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000695 <antcall
696 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000697 <param
698 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000699 value="${org.eclipse.jst.jsf.contentassist.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000700 <param
701 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000702 value="org.eclipse.jst.jsf.contentassist.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000703 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000704 <antcall
705 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000706 <param
707 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000708 value="${org.eclipse.jst.jsf.context.symbol.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000709 <param
710 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000711 value="org.eclipse.jst.jsf.context.symbol.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000712 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000713 <antcall
714 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000715 <param
716 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000717 value="${org.eclipse.jst.jsf.designtime.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000718 <param
719 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000720 value="org.eclipse.jst.jsf.designtime.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000721 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000722 <antcall
723 target="runtests">
724 <param
725 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000726 value="${org.eclipse.jst.jsf.facesconfig.tests}"/>
david_williams222a9472008-01-26 22:06:59 +0000727 <param
728 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000729 value="org.eclipse.jst.jsf.facesconfig.tests"/>
david_williams222a9472008-01-26 22:06:59 +0000730 </antcall>
731 <antcall
732 target="runtests">
733 <param
734 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000735 value="${org.eclipse.jst.jsf.facesconfig.ui.test}"/>
david_williams222a9472008-01-26 22:06:59 +0000736 <param
737 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000738 value="org.eclipse.jst.jsf.facesconfig.ui.test"/>
david_williams222a9472008-01-26 22:06:59 +0000739 </antcall>
740 <antcall
741 target="runtests">
742 <param
743 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000744 value="${org.eclipse.jst.jsf.validation.el.tests}"/>
david_williams222a9472008-01-26 22:06:59 +0000745 <param
746 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000747 value="org.eclipse.jst.jsf.validation.el.tests"/>
david_williams222a9472008-01-26 22:06:59 +0000748 </antcall>
david_williams12df4c52009-08-19 14:09:03 +0000749 <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=286685
david_williams222a9472008-01-26 22:06:59 +0000750 <antcall
751 target="runtests">
752 <param
753 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000754 value="${org.eclipse.jst.pagedesigner.tests}"/>
david_williams222a9472008-01-26 22:06:59 +0000755 <param
756 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000757 value="org.eclipse.jst.pagedesigner.tests"/>
david_williams222a9472008-01-26 22:06:59 +0000758 </antcall>
david_williams12df4c52009-08-19 14:09:03 +0000759 -->
david_williams403beae2007-12-09 02:10:40 +0000760 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000761
david_williams403beae2007-12-09 02:10:40 +0000762 <!-- WS TESTS -->
david_williams403beae2007-12-09 02:10:40 +0000763 <target
764 name="wst-ws-tests"
765 depends="init"
766 description="Runs the org.eclipse.wst.ws.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000767 <antcall
768 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000769 <param
770 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000771 value="${org.eclipse.wst.ws.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000772 <param
773 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000774 value="org.eclipse.wst.ws.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000775 </antcall>
776 </target>
david_williams403beae2007-12-09 02:10:40 +0000777 <target
778 name="jst-ws-tests"
779 depends="init"
780 description="Runs the org.eclipse.jst.ws.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000781 <antcall
782 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000783 <param
784 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000785 value="${org.eclipse.jst.ws.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000786 <param
787 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000788 value="org.eclipse.jst.ws.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000789 </antcall>
790 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000791
david_williams403beae2007-12-09 02:10:40 +0000792 <!-- Faceted Project Framework Tests -->
david_williams403beae2007-12-09 02:10:40 +0000793 <target
794 name="wst-facets-tests"
795 depends="init"
796 description="Runs the Faceted Project Framework tests.">
david_williams222a9472008-01-26 22:06:59 +0000797 <antcall
798 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000799 <param
800 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000801 value="${org.eclipse.wst.common.project.facet.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000802 <param
803 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000804 value="org.eclipse.wst.common.project.facet.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000805 </antcall>
806 </target>
david_williams9d23a9d2007-03-16 02:23:53 +0000807
david_williams403beae2007-12-09 02:10:40 +0000808 <!-- Dali tests -->
809 <target
810 name="jpt-utility-tests"
811 depends="init"
812 description="Runs the org.eclipse.jpt.utility.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000813 <antcall
814 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000815 <param
816 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000817 value="${org.eclipse.jpt.utility.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000818 <param
819 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000820 value="org.eclipse.jpt.utility.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000821 </antcall>
822 </target>
823 <target
824 name="dali-core-tests"
tlee94fb172008-09-22 19:35:16 +0000825 depends="init"
david_williams403beae2007-12-09 02:10:40 +0000826 description="Runs the org.eclipse.jpt.core.tests test.xml">
david_williams222a9472008-01-26 22:06:59 +0000827 <antcall
828 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000829 <param
830 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000831 value="${org.eclipse.jpt.core.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000832 <param
833 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000834 value="org.eclipse.jpt.core.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000835 </antcall>
836 </target>
tle459f0952008-07-29 06:29:25 +0000837 <target
838 name="jpt-eclipselink-core-tests"
839 depends="init"
840 description="Runs the org.eclipse.jpt.eclipselink.core.tests test.xml">
841 <antcall
842 target="runtests">
843 <param
844 name="testPlugin"
845 value="${org.eclipse.jpt.eclipselink.core.tests}"/>
846 <param
847 name="report"
848 value="org.eclipse.jpt.eclipselink.core.tests"/>
849 </antcall>
850 </target>
david_williams9f1bc312006-11-29 20:23:22 +0000851
david_williams30cb3bc2007-12-11 18:40:53 +0000852 <!-- JSDT tests -->
853 <target
854 name="jsdt-tests"
855 depends="init"
856 description="Runs the org.eclipse.wst.jsdt.core.test.* test.xml">
david_williams222a9472008-01-26 22:06:59 +0000857 <antcall
858 target="runtests">
david_williams30cb3bc2007-12-11 18:40:53 +0000859 <param
860 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000861 value="${org.eclipse.wst.jsdt.core.tests.compiler}"/>
david_williams30cb3bc2007-12-11 18:40:53 +0000862 <param
863 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000864 value="org.eclipse.wst.jsdt.core.tests.compiler"/>
david_williams30cb3bc2007-12-11 18:40:53 +0000865 </antcall>
david_williams222a9472008-01-26 22:06:59 +0000866 <antcall
867 target="runtests">
david_williams30cb3bc2007-12-11 18:40:53 +0000868 <param
869 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000870 value="${org.eclipse.wst.jsdt.core.tests.model}"/>
david_williams30cb3bc2007-12-11 18:40:53 +0000871 <param
872 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000873 value="org.eclipse.wst.jsdt.core.tests.model"/>
david_williams30cb3bc2007-12-11 18:40:53 +0000874 </antcall>
875 </target>
david_williams0999f352008-08-21 06:38:14 +0000876 <target
877 name="xsl-tests"
878 depends="init">
879 <antcall
880 target="runtests">
881 <param
882 name="testPlugin"
883 value="${org.eclipse.wst.xsl.tests}"/>
884 <param
885 name="report"
886 value="org.eclipse.wst.xsl.tests"/>
887 </antcall>
888 </target>
david_williams9b288622009-07-20 02:51:25 +0000889
890 <!-- releng Tests -->
david_williams403beae2007-12-09 02:10:40 +0000891 <target
892 name="releng-tests"
893 depends="init"
894 description="Runs the releng tests.">
david_williams222a9472008-01-26 22:06:59 +0000895 <antcall
896 target="runtests">
david_williams403beae2007-12-09 02:10:40 +0000897 <param
898 name="testPlugin"
david_williams8e4dc9c2008-07-06 08:08:58 +0000899 value="${org.eclipse.wtp.releng.tests}"/>
david_williams403beae2007-12-09 02:10:40 +0000900 <param
901 name="report"
david_williams8e4dc9c2008-07-06 08:08:58 +0000902 value="org.eclipse.wtp.releng.tests"/>
david_williams403beae2007-12-09 02:10:40 +0000903 </antcall>
904 </target>
david_williams403beae2007-12-09 02:10:40 +0000905 <target
906 name="all"
907 depends="init">
david_williams403beae2007-12-09 02:10:40 +0000908 <echo
909 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000910 message="Starting WTP Unit Tests"/>
david_williams403beae2007-12-09 02:10:40 +0000911 <echo
912 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000913 message="Starting releng tests"/>
david_williams222a9472008-01-26 22:06:59 +0000914 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000915 target="releng-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000916 <echo
917 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000918 message="Starting wst-server-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000919 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000920 target="wst-server-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000921 <echo
922 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000923 message="Starting wst-monitor-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000924 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000925 target="wst-monitor-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000926 <echo
927 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000928 message="Starting wst-cache-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000929 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000930 target="wst-cache-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000931 <echo
932 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000933 message="Starting wst-common-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000934 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000935 target="wst-common-tests"/>
david_williams43089362008-03-25 05:43:38 +0000936 <echo
937 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000938 message="Starting validation-framework-tests"/>
david_williams43089362008-03-25 05:43:38 +0000939 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000940 target="validation-framework-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000941 <echo
942 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000943 message="Starting wst-common-snippets-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000944 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000945 target="wst-common-snippets-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000946 <echo
947 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000948 message="Starting wst-sse-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000949 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000950 target="wst-sse-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000951 <echo
952 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000953 message="Starting wst-xml-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000954 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000955 target="wst-xml-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000956 <echo
957 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000958 message="Starting wst-wsdl-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000959 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000960 target="wst-wsdl-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000961 <echo
962 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000963 message="Starting wst-wsi-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000964 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000965 target="wst-wsi-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000966 <echo
967 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000968 message="Starting wst-xsd-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000969 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000970 target="wst-xsd-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000971 <echo
972 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000973 message="Starting wst-html-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000974 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000975 target="wst-html-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000976 <echo
977 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000978 message="Starting wst-dtd-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000979 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000980 target="wst-dtd-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000981 <echo
982 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000983 message="Starting wst-css-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000984 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000985 target="wst-css-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000986 <echo
987 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000988 message="Starting wst-ws-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000989 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000990 target="wst-ws-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000991 <echo
992 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000993 message="Starting jst-server-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000994 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +0000995 target="jst-server-tests"/>
david_williams403beae2007-12-09 02:10:40 +0000996 <echo
997 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +0000998 message="Starting jst-server-tomcat-tests"/>
david_williams222a9472008-01-26 22:06:59 +0000999 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001000 target="jst-server-tomcat-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001001 <echo
1002 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001003 message="Starting jst-server-geronimo-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001004 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001005 target="jst-server-geronimo-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001006 <echo
1007 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001008 message="Starting jst-server-generic-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001009 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001010 target="jst-server-generic-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001011 <echo
1012 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001013 message="Starting jst-jem-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001014 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001015 target="jst-jem-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001016 <echo
1017 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001018 message="Starting jst-j2ee-core-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001019 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001020 target="jst-j2ee-core-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001021 <echo
1022 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001023 message="Starting jst-j2ee-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001024 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001025 target="jst-j2ee-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001026 <echo
1027 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001028 message="Starting jst-validation-framework-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001029 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001030 target="jst-validation-framework-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001031 <echo
1032 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001033 message="Starting jst-jsp-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001034 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001035 target="jst-jsp-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001036 <echo
1037 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001038 message="Starting jst-ws-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001039 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001040 target="jst-ws-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001041 <echo
1042 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001043 message="Starting wst-facets-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001044 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001045 target="wst-facets-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001046 <echo
1047 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001048 message="Starting JPT Unit Tests"/>
david_williams403beae2007-12-09 02:10:40 +00001049 <echo
1050 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001051 message="Starting jpt-utility-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001052 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001053 target="jpt-utility-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001054 <echo
1055 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001056 message="Starting dali-core-tests"/>
david_williams222a9472008-01-26 22:06:59 +00001057 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001058 target="dali-core-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001059 <echo
1060 level="info"
tle459f0952008-07-29 06:29:25 +00001061 message="Starting jpt-eclipselink-core-tests"/>
1062 <antcall
1063 target="jpt-eclipselink-core-tests"/>
1064 <echo
1065 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001066 message="Ended JPT Unit Tests"/>
david_williams403beae2007-12-09 02:10:40 +00001067 <echo
1068 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001069 message="Starting JSF Tests"/>
david_williams222a9472008-01-26 22:06:59 +00001070 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001071 target="jsf-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001072 <echo
1073 level="info"
david_williams8e4dc9c2008-07-06 08:08:58 +00001074 message="Starting JSDT Tests"/>
david_williams222a9472008-01-26 22:06:59 +00001075 <antcall
david_williams8e4dc9c2008-07-06 08:08:58 +00001076 target="jsdt-tests"/>
david_williams30cb3bc2007-12-11 18:40:53 +00001077 <echo
1078 level="info"
david_williams0999f352008-08-21 06:38:14 +00001079 message="Starting XSL Tests"/>
1080 <antcall
david_williams9b288622009-07-20 02:51:25 +00001081 target="xsl-tests"/>
david_williams403beae2007-12-09 02:10:40 +00001082 </target>
david_williams403beae2007-12-09 02:10:40 +00001083 <target
1084 name="genHtml"
1085 description="Generates HTML results with provided JUNIT.XSL provided"
1086 unless="genHtml.disable">
david_williams6b198a72008-01-26 06:19:56 +00001087 <xslt
david_williams403beae2007-12-09 02:10:40 +00001088 style="JUNIT.XSL"
1089 basedir="${results}/xml"
david_williams8e4dc9c2008-07-06 08:08:58 +00001090 destdir="${results}/html"/>
david_williams403beae2007-12-09 02:10:40 +00001091 </target>
david_williams403beae2007-12-09 02:10:40 +00001092 <target
1093 name="computePluginVersion"
1094 depends="test2properties"
1095 unless="test2propertiesexists">
1096 <java
1097 classname="org.eclipse.wtp.releng.test.ComputePluginVersion">
1098 <classpath>
david_williams222a9472008-01-26 22:06:59 +00001099 <pathelement
david_williams8e4dc9c2008-07-06 08:08:58 +00001100 location="ComputePluginVersion.jar"/>
david_williams403beae2007-12-09 02:10:40 +00001101 </classpath>
david_williams222a9472008-01-26 22:06:59 +00001102 <arg
david_williams8e4dc9c2008-07-06 08:08:58 +00001103 value="${eclipse-home}/plugins"/>
david_williams222a9472008-01-26 22:06:59 +00001104 <arg
david_williams8e4dc9c2008-07-06 08:08:58 +00001105 value="${testRoot}/test2.properties"/>
david_williams43089362008-03-25 05:43:38 +00001106 <jvmarg
david_williams8e4dc9c2008-07-06 08:08:58 +00001107 value="-Djava.io.tmpdir=${env.RECOMMENDED_TMP_DIR}"/>
david_williams403beae2007-12-09 02:10:40 +00001108 </java>
1109 </target>
david_williams222a9472008-01-26 22:06:59 +00001110 <target
1111 name="test2properties">
1112 <condition
1113 property="test2propertiesexists">
1114 <available
david_williams8e4dc9c2008-07-06 08:08:58 +00001115 file="${testRoot}/test2.properties"/>
david_williams403beae2007-12-09 02:10:40 +00001116 </condition>
1117 </target>
jeffliu5e3253d2006-06-13 19:38:32 +00001118</project>