david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1 | <project |
| 2 | name="Automated Eclipse Testing" |
| 3 | default="all" |
| 4 | basedir="."> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 5 | <echo |
| 6 | level="info" |
| 7 | message="starting Automated Eclipse Testing" /> |
| 8 | <echo |
| 9 | level="debug" |
| 10 | message="basedir: ${basedir}" /> |
| 11 | <echo |
| 12 | level="debug" |
| 13 | message="testRoot: ${testRoot}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 14 | <fail |
| 15 | message="testRoot must be set" |
| 16 | unless="testRoot" /> |
david_williams | 535d681 | 2007-03-29 06:46:26 +0000 | [diff] [blame] | 17 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 18 | <!--properties file containing the some server name properties --> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 19 | <property |
| 20 | file="${testRoot}/testServer.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 21 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 22 | <!--properties file containing the build information--> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 23 | <property |
| 24 | file="${buildDirectory}/label.properties" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 25 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 26 | <!--default directory where test-eclipse will be installed--> |
| 27 | <property |
| 28 | name="install" |
| 29 | value="${testRoot}" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 30 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 31 | <!--name that can be added to report name to identify which platform tests results come from--> |
| 32 | <property |
| 33 | name="platform" |
| 34 | value="" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 35 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 36 | <!-- The root of the eclipse installation --> |
| 37 | <property |
| 38 | name="eclipse-home" |
| 39 | value="${testRoot}/eclipse" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 40 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 41 | <!-- The directory that will contain the xml and html results from the tests that are run --> |
| 42 | <property |
| 43 | name="results" |
| 44 | value="${testRoot}/results" /> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 45 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 46 | <!-- jonas install directory --> |
| 47 | <property |
| 48 | name="jonas432Dir" |
| 49 | value="${testRoot}/${jonas432DirName}" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 50 | <target |
| 51 | name="init"> |
| 52 | <antcall |
| 53 | target="setPropertyJOnAS432Dir" /> |
| 54 | <antcall |
| 55 | target="computePluginVersion" /> |
| 56 | <property |
| 57 | file="${testRoot}/test2.properties" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 58 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 59 | <target |
| 60 | name="setPropertyJOnAS432Dir" |
| 61 | unless="jonas432Dir"> |
| 62 | <property |
| 63 | name="jonas432Dir" |
| 64 | value="${testRoot}/${jonas432DirName}" /> |
| 65 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 66 | <target |
| 67 | name="setup" |
| 68 | if="clean" |
| 69 | description="Reinstall the test Eclipse installation if specified by user"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 70 | <delete |
| 71 | dir="${install}" /> |
| 72 | <mkdir |
| 73 | dir="${install}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 74 | <exec |
| 75 | dir="." |
| 76 | executable="unzip"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 77 | <arg |
| 78 | line="-o -qq ../downloads/*.zip -d ${install}" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 79 | </exec> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 80 | <exec |
| 81 | dir="." |
| 82 | executable="unzip"> |
| 83 | <arg |
| 84 | line="-o -qq wtp-wst-tests-feature*.zip -d ${install}" /> |
| 85 | </exec> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 86 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 87 | <target |
| 88 | name="runapitests" |
| 89 | depends="setup"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 90 | <antcall |
| 91 | target="runtests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 92 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 93 | <target |
| 94 | name="runtests" |
| 95 | depends="setup" |
| 96 | description="Runs ant on the test.xml for a specified plugin."> |
| 97 | <available |
| 98 | file="${eclipse-home}/plugins/${testPlugin}/test.xml" |
| 99 | property="test.xml.exists" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 100 | <antcall |
| 101 | target="runtests2" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 102 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 103 | <target |
| 104 | name="runtests2" |
| 105 | if="test.xml.exists"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 106 | <antcall |
| 107 | target="runtests-normal" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 108 | <copy |
| 109 | file="${eclipse-home}/${report}.xml" |
| 110 | tofile="${results}/xml/${report}_${platform}.xml" |
| 111 | failonerror="false" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 112 | <antcall |
| 113 | target="genHtml" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 114 | </target> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 115 | <target |
| 116 | name="runtests-normal"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 117 | <ant |
| 118 | antfile="${eclipse-home}/plugins/${testPlugin}/test.xml" |
| 119 | dir="${eclipse-home}"> |
| 120 | <property |
| 121 | name="library-file" |
| 122 | value="${testRoot}/wtp-junit-tests.xml" /> |
| 123 | </ant> |
| 124 | <copy |
| 125 | file="${eclipse-home}/${report}.xml" |
| 126 | tofile="${results}/xml/${report}_${platform}.xml" |
| 127 | failonerror="false" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 128 | <antcall |
| 129 | target="genHtml" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 130 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 131 | <target |
| 132 | name="wst-server-tests" |
| 133 | depends="init" |
| 134 | description="Runs the org.eclipse.wst.server.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 135 | <antcall |
| 136 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 137 | <param |
| 138 | name="testPlugin" |
| 139 | value="${org.eclipse.wst.server.core.tests}" /> |
| 140 | <param |
| 141 | name="report" |
| 142 | value="org.eclipse.wst.server.core.tests" /> |
| 143 | <param |
| 144 | name="package.includes" |
| 145 | value="org.eclipse.wst.server" /> |
| 146 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 147 | <antcall |
| 148 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 149 | <param |
| 150 | name="testPlugin" |
| 151 | value="${org.eclipse.wst.server.ui.tests}" /> |
| 152 | <param |
| 153 | name="report" |
| 154 | value="org.eclipse.wst.server.ui.tests" /> |
| 155 | <param |
| 156 | name="package.includes" |
| 157 | value="org.eclipse.wst.server" /> |
| 158 | </antcall> |
| 159 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 160 | <target |
| 161 | name="wst-monitor-tests" |
| 162 | depends="init" |
| 163 | description="Runs the org.eclipse.wst.internet.monitor.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 164 | <antcall |
| 165 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 166 | <param |
| 167 | name="testPlugin" |
| 168 | value="${org.eclipse.wst.internet.monitor.core.tests}" /> |
| 169 | <param |
| 170 | name="report" |
| 171 | value="org.eclipse.wst.internet.monitor.core.tests" /> |
| 172 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 173 | <antcall |
| 174 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 175 | <param |
| 176 | name="testPlugin" |
| 177 | value="${org.eclipse.wst.internet.monitor.ui.tests}" /> |
| 178 | <param |
| 179 | name="report" |
| 180 | value="org.eclipse.wst.internet.monitor.ui.tests" /> |
| 181 | </antcall> |
| 182 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 183 | <target |
| 184 | name="wst-cache-tests" |
| 185 | depends="init" |
| 186 | description="Runs the org.eclipse.wst.internet.cache.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 187 | <antcall |
| 188 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 189 | <param |
| 190 | name="testPlugin" |
| 191 | value="${org.eclipse.wst.internet.cache.tests}" /> |
| 192 | <param |
| 193 | name="report" |
| 194 | value="org.eclipse.wst.internet.cache.tests" /> |
| 195 | </antcall> |
| 196 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 197 | <target |
| 198 | name="jst-server-tests" |
| 199 | depends="init" |
| 200 | description="Runs the org.eclipse.jst.server.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 201 | <antcall |
| 202 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 203 | <param |
| 204 | name="testPlugin" |
| 205 | value="${org.eclipse.jst.server.core.tests}" /> |
| 206 | <param |
| 207 | name="report" |
| 208 | value="org.eclipse.jst.server.core.tests" /> |
| 209 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 210 | <antcall |
| 211 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 212 | <param |
| 213 | name="testPlugin" |
| 214 | value="${org.eclipse.jst.server.ui.tests}" /> |
| 215 | <param |
| 216 | name="report" |
| 217 | value="org.eclipse.jst.server.ui.tests" /> |
| 218 | </antcall> |
| 219 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 220 | <target |
| 221 | name="jst-server-tomcat-tests" |
| 222 | depends="init" |
| 223 | description="Runs the org.eclipse.jst.server.tomcat.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 224 | <antcall |
| 225 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 226 | <param |
| 227 | name="testPlugin" |
| 228 | value="${org.eclipse.jst.server.tomcat.core.tests}" /> |
| 229 | <param |
| 230 | name="report" |
| 231 | value="org.eclipse.jst.server.tomcat.core.tests" /> |
| 232 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 233 | <antcall |
| 234 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 235 | <param |
| 236 | name="testPlugin" |
| 237 | value="${org.eclipse.jst.server.tomcat.ui.tests}" /> |
| 238 | <param |
| 239 | name="report" |
| 240 | value="org.eclipse.jst.server.tomcat.ui.tests" /> |
| 241 | </antcall> |
| 242 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 243 | <target |
| 244 | name="jst-server-generic-tests" |
| 245 | depends="init" |
| 246 | description="Runs the org.eclipse.jst.server.generic.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 247 | <antcall |
| 248 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 249 | <param |
| 250 | name="testPlugin" |
| 251 | value="${org.eclipse.jst.server.generic.tests}" /> |
| 252 | <param |
| 253 | name="report" |
| 254 | value="org.eclipse.jst.server.generic.tests" /> |
| 255 | </antcall> |
| 256 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 257 | <target |
| 258 | name="jst-server-geronimo-tests" |
| 259 | depends="init" |
| 260 | description="Runs the org.eclipse.jst.server.geronimo.*.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 261 | <antcall |
| 262 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 263 | <param |
| 264 | name="testPlugin" |
| 265 | value="${org.eclipse.jst.server.geronimo.core.tests}" /> |
| 266 | <param |
| 267 | name="report" |
| 268 | value="org.eclipse.jst.server.geronimo.core.tests" /> |
| 269 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 270 | <antcall |
| 271 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 272 | <param |
| 273 | name="testPlugin" |
| 274 | value="${org.eclipse.jst.server.geronimo.ui.tests}" /> |
| 275 | <param |
| 276 | name="report" |
| 277 | value="org.eclipse.jst.server.geronimo.ui.tests" /> |
| 278 | </antcall> |
| 279 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 280 | <target |
| 281 | name="jst-jem-tests" |
| 282 | depends="init" |
| 283 | description="Runs the org.eclipse.jem.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 284 | <antcall |
| 285 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 286 | <param |
| 287 | name="testPlugin" |
| 288 | value="${org.eclipse.jem.tests}" /> |
| 289 | <param |
| 290 | name="report" |
| 291 | value="org.eclipse.jem.tests" /> |
| 292 | </antcall> |
| 293 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 294 | <target |
| 295 | name="jst-j2ee-core-tests" |
| 296 | depends="init" |
| 297 | description="Runs the org.eclipse.jst.j2ee.core.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 298 | <antcall |
| 299 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 300 | <param |
| 301 | name="testPlugin" |
| 302 | value="${org.eclipse.jst.j2ee.core.tests}" /> |
| 303 | <param |
| 304 | name="report" |
| 305 | value="org.eclipse.jst.j2ee.core.tests" /> |
| 306 | </antcall> |
| 307 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 308 | <target |
| 309 | name="jst-j2ee-tests" |
| 310 | depends="init" |
| 311 | description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 312 | <antcall |
| 313 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 314 | <param |
| 315 | name="testPlugin" |
| 316 | value="${org.eclipse.jst.j2ee.tests}" /> |
| 317 | <param |
| 318 | name="report" |
| 319 | value="org.eclipse.jst.j2ee.tests" /> |
| 320 | </antcall> |
| 321 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 322 | <target |
| 323 | name="wst-common-tests" |
| 324 | depends="init" |
| 325 | description="Runs the org.eclipse.jst.j2ee.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 326 | <antcall |
| 327 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 328 | <param |
| 329 | name="testPlugin" |
| 330 | value="${org.eclipse.wst.common.tests}" /> |
| 331 | <param |
| 332 | name="report" |
| 333 | value="org.eclipse.wst.common.tests" /> |
| 334 | </antcall> |
| 335 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 336 | <target |
| 337 | name="wst-common-snippets-tests" |
| 338 | depends="init"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 339 | <antcall |
| 340 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 341 | <param |
| 342 | name="testPlugin" |
| 343 | value="${org.eclipse.wst.common.snippets.tests}" /> |
| 344 | <param |
| 345 | name="report" |
| 346 | value="org.eclipse.wst.common.snippets.tests" /> |
| 347 | </antcall> |
| 348 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 349 | <target |
| 350 | name="jst-servlet-tests" |
| 351 | depends="init" |
| 352 | description="Runs the org.eclipse.jst.servlet.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 353 | <antcall |
| 354 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 355 | <param |
| 356 | name="testPlugin" |
| 357 | value="${org.eclipse.jst.servlet.tests}" /> |
| 358 | <param |
| 359 | name="report" |
| 360 | value="org.eclipse.jst.servlet.tests" /> |
| 361 | </antcall> |
| 362 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 363 | <target |
| 364 | name="jst-validation-framework-tests" |
| 365 | depends="init" |
| 366 | description="Runs the org.eclipse.jst.validation.test test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 367 | <antcall |
| 368 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 369 | <param |
| 370 | name="testPlugin" |
| 371 | value="${org.eclipse.jst.validation.test}" /> |
| 372 | <param |
| 373 | name="report" |
| 374 | value="org.eclipse.jst.validation.test" /> |
| 375 | </antcall> |
| 376 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 377 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 378 | <!-- JSP TESTS --> |
| 379 | <target |
| 380 | name="jst-jsp-tests" |
| 381 | depends="init" |
| 382 | description="Runs test.xml for JSP tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 383 | <antcall |
| 384 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 385 | <param |
| 386 | name="testPlugin" |
| 387 | value="${org.eclipse.jst.jsp.core.tests}" /> |
| 388 | <param |
| 389 | name="report" |
| 390 | value="org.eclipse.jst.jsp.core.tests" /> |
| 391 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 392 | <antcall |
| 393 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 394 | <param |
| 395 | name="testPlugin" |
| 396 | value="${org.eclipse.jst.jsp.ui.tests}" /> |
| 397 | <param |
| 398 | name="report" |
| 399 | value="org.eclipse.jst.jsp.ui.tests" /> |
| 400 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 401 | <antcall |
| 402 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 403 | <param |
| 404 | name="testPlugin" |
| 405 | value="${org.eclipse.jst.jsp.tests.encoding}" /> |
| 406 | <param |
| 407 | name="report" |
| 408 | value="org.eclipse.jst.jsp.tests.encoding" /> |
| 409 | </antcall> |
| 410 | </target> |
ndai | b8cedc8 | 2005-09-13 18:00:32 +0000 | [diff] [blame] | 411 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 412 | <!-- SSE TESTS --> |
| 413 | <target |
| 414 | name="wst-sse-tests" |
| 415 | depends="init" |
| 416 | description="Runs test.xml for SSE tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 417 | <antcall |
| 418 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 419 | <param |
| 420 | name="testPlugin" |
| 421 | value="${org.eclipse.wst.sse.core.tests}" /> |
| 422 | <param |
| 423 | name="report" |
| 424 | value="org.eclipse.wst.sse.core.tests" /> |
| 425 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 426 | <antcall |
| 427 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 428 | <param |
| 429 | name="testPlugin" |
| 430 | value="${org.eclipse.wst.sse.ui.tests}" /> |
| 431 | <param |
| 432 | name="report" |
| 433 | value="org.eclipse.wst.sse.ui.tests" /> |
| 434 | </antcall> |
| 435 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 436 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 437 | <!-- XML TESTS --> |
| 438 | <target |
| 439 | name="wst-xml-tests" |
| 440 | depends="init" |
| 441 | description="Runs test.xml for XML tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 442 | <antcall |
| 443 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 444 | <param |
| 445 | name="testPlugin" |
| 446 | value="${org.eclipse.wst.xml.core.tests}" /> |
| 447 | <param |
| 448 | name="report" |
| 449 | value="org.eclipse.wst.xml.core.tests" /> |
| 450 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 451 | <antcall |
| 452 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 453 | <param |
| 454 | name="testPlugin" |
| 455 | value="${org.eclipse.wst.xml.ui.tests}" /> |
| 456 | <param |
| 457 | name="report" |
| 458 | value="org.eclipse.wst.xml.ui.tests" /> |
| 459 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 460 | <antcall |
| 461 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 462 | <param |
| 463 | name="testPlugin" |
| 464 | value="${org.eclipse.wst.xml.tests.encoding}" /> |
| 465 | <param |
| 466 | name="report" |
| 467 | value="org.eclipse.wst.xml.tests.encoding" /> |
| 468 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 469 | <antcall |
| 470 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 471 | <param |
| 472 | name="testPlugin" |
| 473 | value="${org.eclipse.wst.xml.validation.tests}" /> |
| 474 | <param |
| 475 | name="report" |
| 476 | value="org.eclipse.wst.xml.validation.tests" /> |
| 477 | </antcall> |
| 478 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 479 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 480 | <!-- WSDL TESTS --> |
| 481 | <target |
| 482 | name="wst-wsdl-tests" |
| 483 | depends="init" |
| 484 | description="Runs test.xml for WSDL "> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 485 | <antcall |
| 486 | target="runapitests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 487 | <param |
| 488 | name="testPlugin" |
| 489 | value="${org.eclipse.wst.wsdl.tests}" /> |
| 490 | <param |
| 491 | name="report" |
| 492 | value="org.eclipse.wst.wsdl.tests" /> |
| 493 | <param |
| 494 | name="package.includes" |
| 495 | value="org.eclipse.wst.wsdl" /> |
| 496 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 497 | <antcall |
| 498 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 499 | <param |
| 500 | name="testPlugin" |
| 501 | value="${org.eclipse.wst.wsdl.validation.tests}" /> |
| 502 | <param |
| 503 | name="report" |
| 504 | value="org.eclipse.wst.wsdl.validation.tests" /> |
| 505 | </antcall> |
| 506 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 507 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 508 | <!-- WSI TESTS --> |
| 509 | <target |
| 510 | name="wst-wsi-tests" |
| 511 | depends="init" |
| 512 | description="Runs test.xml for WSI tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 513 | <antcall |
| 514 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 515 | <param |
| 516 | name="testPlugin" |
| 517 | value="${org.eclipse.wst.wsi.tests}" /> |
| 518 | <param |
| 519 | name="report" |
| 520 | value="org.eclipse.wst.wsi.tests" /> |
| 521 | </antcall> |
| 522 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 523 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 524 | <!-- XSD TESTS --> |
| 525 | <target |
| 526 | name="wst-xsd-tests" |
| 527 | depends="init" |
| 528 | description="Runs test.xml for XSD tests "> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 529 | <antcall |
| 530 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 531 | <param |
| 532 | name="testPlugin" |
| 533 | value="${org.eclipse.wst.xsd.validation.tests}" /> |
| 534 | <param |
| 535 | name="report" |
| 536 | value="org.eclipse.wst.xsd.validation.tests" /> |
| 537 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 538 | <antcall |
| 539 | target="runtests"> |
david_williams | f584819 | 2008-01-15 21:39:00 +0000 | [diff] [blame] | 540 | <param |
| 541 | name="testPlugin" |
| 542 | value="${org.eclipse.wst.xsd.core.tests}" /> |
| 543 | <param |
| 544 | name="report" |
| 545 | value="org.eclipse.wst.xsd.core.tests" /> |
| 546 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 547 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 548 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 549 | <!-- HTML TESTS --> |
| 550 | <target |
| 551 | name="wst-html-tests" |
| 552 | depends="init" |
| 553 | description="Runs test.xml for HTML tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 554 | <antcall |
| 555 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 556 | <param |
| 557 | name="testPlugin" |
| 558 | value="${org.eclipse.wst.html.core.tests}" /> |
| 559 | <param |
| 560 | name="report" |
| 561 | value="org.eclipse.wst.html.core.tests" /> |
| 562 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 563 | <antcall |
| 564 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 565 | <param |
| 566 | name="testPlugin" |
| 567 | value="${org.eclipse.wst.html.ui.tests}" /> |
| 568 | <param |
| 569 | name="report" |
| 570 | value="org.eclipse.wst.html.ui.tests" /> |
| 571 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 572 | <antcall |
| 573 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 574 | <param |
| 575 | name="testPlugin" |
| 576 | value="${org.eclipse.wst.html.tests.encoding}" /> |
| 577 | <param |
| 578 | name="report" |
| 579 | value="org.eclipse.wst.html.tests.encoding" /> |
| 580 | </antcall> |
| 581 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 582 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 583 | <!-- DTD Tests --> |
| 584 | <target |
| 585 | name="wst-dtd-tests" |
| 586 | depends="init"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 587 | <antcall |
| 588 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 589 | <param |
| 590 | name="testPlugin" |
| 591 | value="${org.eclipse.wst.dtd.ui.tests}" /> |
| 592 | <param |
| 593 | name="report" |
| 594 | value="org.eclipse.wst.dtd.ui.tests" /> |
| 595 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 596 | <antcall |
| 597 | target="runtests"> |
david_williams | 5b61631 | 2008-01-17 05:55:44 +0000 | [diff] [blame] | 598 | <param |
| 599 | name="testPlugin" |
| 600 | value="${org.eclipse.wst.dtd.core.tests}" /> |
| 601 | <param |
| 602 | name="report" |
| 603 | value="org.eclipse.wst.dtd.core.tests" /> |
| 604 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 605 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 606 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 607 | <!-- CSS TESTS --> |
| 608 | <target |
| 609 | name="wst-css-tests" |
| 610 | depends="init" |
| 611 | description="Runs test.xml for |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 612 | org.eclipse.wst.css.core.tests |
| 613 | org.eclipse.wst.css.ui.tests |
| 614 | org.eclipse.wst.css.tests.encoding"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 615 | <antcall |
| 616 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 617 | <param |
| 618 | name="testPlugin" |
| 619 | value="${org.eclipse.wst.css.core.tests}" /> |
| 620 | <param |
| 621 | name="report" |
| 622 | value="org.eclipse.wst.css.core.tests" /> |
| 623 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 624 | <antcall |
| 625 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 626 | <param |
| 627 | name="testPlugin" |
| 628 | value="${org.eclipse.wst.css.tests.encoding}" /> |
| 629 | <param |
| 630 | name="report" |
| 631 | value="org.eclipse.wst.css.tests.encoding" /> |
| 632 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 633 | <antcall |
| 634 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 635 | <param |
| 636 | name="testPlugin" |
| 637 | value="${org.eclipse.wst.css.ui.tests}" /> |
| 638 | <param |
| 639 | name="report" |
| 640 | value="org.eclipse.wst.css.ui.tests" /> |
| 641 | </antcall> |
| 642 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 643 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 644 | <!-- JSF TESTS --> |
| 645 | <target |
| 646 | name="jsf-tests" |
| 647 | depends="init" |
| 648 | description="Runs test.xml for org.eclipse.jst.jsf.core.tests, org.eclipse.jst.jsf.ui.tests"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 649 | <antcall |
| 650 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 651 | <param |
| 652 | name="testPlugin" |
| 653 | value="${org.eclipse.jst.jsf.core.tests}" /> |
| 654 | <param |
| 655 | name="report" |
| 656 | value="org.eclipse.jst.jsf.core.tests" /> |
| 657 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 658 | <antcall |
| 659 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 660 | <param |
| 661 | name="testPlugin" |
| 662 | value="${org.eclipse.jst.jsf.ui.tests}" /> |
| 663 | <param |
| 664 | name="report" |
| 665 | value="org.eclipse.jst.jsf.ui.tests" /> |
| 666 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 667 | <antcall |
| 668 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 669 | <param |
| 670 | name="testPlugin" |
| 671 | value="${org.eclipse.jst.jsf.metadata.tests}" /> |
| 672 | <param |
| 673 | name="report" |
| 674 | value="org.eclipse.jst.jsf.metadata.tests" /> |
| 675 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 676 | <antcall |
| 677 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 678 | <param |
| 679 | name="testPlugin" |
| 680 | value="${org.eclipse.jst.jsf.contentassist.tests}" /> |
| 681 | <param |
| 682 | name="report" |
| 683 | value="org.eclipse.jst.jsf.contentassist.tests" /> |
| 684 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 685 | <antcall |
| 686 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 687 | <param |
| 688 | name="testPlugin" |
| 689 | value="${org.eclipse.jst.jsf.context.symbol.tests}" /> |
| 690 | <param |
| 691 | name="report" |
| 692 | value="org.eclipse.jst.jsf.context.symbol.tests" /> |
| 693 | </antcall> |
david_williams | 632a49d | 2008-01-26 22:07:58 +0000 | [diff] [blame] | 694 | |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 695 | <!-- removed until this suite can be improved |
david_williams | 632a49d | 2008-01-26 22:07:58 +0000 | [diff] [blame] | 696 | see https://bugs.eclipse.org/bugs/show_bug.cgi?id=216679 |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 697 | <antcall |
| 698 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 699 | <param |
| 700 | name="testPlugin" |
| 701 | value="${org.eclipse.jst.jsf.designtime.tests}" /> |
| 702 | <param |
| 703 | name="report" |
| 704 | value="org.eclipse.jst.jsf.designtime.tests" /> |
| 705 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 706 | --> |
david_williams | 632a49d | 2008-01-26 22:07:58 +0000 | [diff] [blame] | 707 | |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 708 | <antcall |
| 709 | target="runtests"> |
| 710 | <param |
| 711 | name="testPlugin" |
| 712 | value="${org.eclipse.jst.jsf.facesconfig.tests}" /> |
| 713 | <param |
| 714 | name="report" |
| 715 | value="org.eclipse.jst.jsf.facesconfig.tests" /> |
| 716 | </antcall> |
| 717 | <antcall |
| 718 | target="runtests"> |
| 719 | <param |
| 720 | name="testPlugin" |
| 721 | value="${org.eclipse.jst.jsf.facesconfig.ui.test}" /> |
| 722 | <param |
| 723 | name="report" |
| 724 | value="org.eclipse.jst.jsf.facesconfig.ui.test" /> |
| 725 | </antcall> |
| 726 | <antcall |
| 727 | target="runtests"> |
| 728 | <param |
| 729 | name="testPlugin" |
| 730 | value="${org.eclipse.jst.jsf.validation.el.tests}" /> |
| 731 | <param |
| 732 | name="report" |
| 733 | value="org.eclipse.jst.jsf.validation.el.tests" /> |
| 734 | </antcall> |
| 735 | <antcall |
| 736 | target="runtests"> |
| 737 | <param |
| 738 | name="testPlugin" |
| 739 | value="${org.eclipse.jst.pagedesigner.tests}" /> |
| 740 | <param |
| 741 | name="report" |
| 742 | value="org.eclipse.jst.pagedesigner.tests" /> |
| 743 | </antcall> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 744 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 745 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 746 | <!-- WS TESTS --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 747 | <target |
| 748 | name="wst-ws-tests" |
| 749 | depends="init" |
| 750 | description="Runs the org.eclipse.wst.ws.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 751 | <antcall |
| 752 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 753 | <param |
| 754 | name="testPlugin" |
| 755 | value="${org.eclipse.wst.ws.tests}" /> |
| 756 | <param |
| 757 | name="report" |
| 758 | value="org.eclipse.wst.ws.tests" /> |
| 759 | </antcall> |
| 760 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 761 | <target |
| 762 | name="jst-ws-tests" |
| 763 | depends="init" |
| 764 | description="Runs the org.eclipse.jst.ws.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 765 | <antcall |
| 766 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 767 | <param |
| 768 | name="testPlugin" |
| 769 | value="${org.eclipse.jst.ws.tests}" /> |
| 770 | <param |
| 771 | name="report" |
| 772 | value="org.eclipse.jst.ws.tests" /> |
| 773 | </antcall> |
| 774 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 775 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 776 | <!-- Faceted Project Framework Tests --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 777 | <target |
| 778 | name="wst-facets-tests" |
| 779 | depends="init" |
| 780 | description="Runs the Faceted Project Framework tests."> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 781 | <antcall |
| 782 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 783 | <param |
| 784 | name="testPlugin" |
| 785 | value="${org.eclipse.wst.common.project.facet.core.tests}" /> |
| 786 | <param |
| 787 | name="report" |
| 788 | value="org.eclipse.wst.common.project.facet.core.tests" /> |
| 789 | </antcall> |
| 790 | </target> |
david_williams | 9d23a9d | 2007-03-16 02:23:53 +0000 | [diff] [blame] | 791 | |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 792 | <!-- Dali tests --> |
| 793 | <target |
| 794 | name="jpt-utility-tests" |
| 795 | depends="init" |
| 796 | description="Runs the org.eclipse.jpt.utility.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 797 | <antcall |
| 798 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 799 | <param |
| 800 | name="testPlugin" |
| 801 | value="${org.eclipse.jpt.utility.tests}" /> |
| 802 | <param |
| 803 | name="report" |
| 804 | value="org.eclipse.jpt.utility.tests" /> |
| 805 | </antcall> |
| 806 | </target> |
| 807 | <target |
| 808 | name="dali-core-tests" |
| 809 | description="Runs the org.eclipse.jpt.core.tests test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 810 | <antcall |
| 811 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 812 | <param |
| 813 | name="testPlugin" |
| 814 | value="${org.eclipse.jpt.core.tests}" /> |
| 815 | <param |
| 816 | name="report" |
| 817 | value="org.eclipse.jpt.core.tests" /> |
| 818 | </antcall> |
| 819 | </target> |
david_williams | 9f1bc31 | 2006-11-29 20:23:22 +0000 | [diff] [blame] | 820 | |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 821 | <!-- JSDT tests --> |
| 822 | <target |
| 823 | name="jsdt-tests" |
| 824 | depends="init" |
| 825 | description="Runs the org.eclipse.wst.jsdt.core.test.* test.xml"> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 826 | <antcall |
| 827 | target="runtests"> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 828 | <param |
| 829 | name="testPlugin" |
| 830 | value="${org.eclipse.wst.jsdt.core.tests.compiler}" /> |
| 831 | <param |
| 832 | name="report" |
| 833 | value="org.eclipse.wst.jsdt.core.tests.compiler" /> |
| 834 | </antcall> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 835 | <antcall |
| 836 | target="runtests"> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 837 | <param |
| 838 | name="testPlugin" |
| 839 | value="${org.eclipse.wst.jsdt.core.tests.model}" /> |
| 840 | <param |
| 841 | name="report" |
| 842 | value="org.eclipse.wst.jsdt.core.tests.model" /> |
| 843 | </antcall> |
| 844 | </target> |
| 845 | |
| 846 | |
| 847 | <!-- releng Tests --> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 848 | <target |
| 849 | name="releng-tests" |
| 850 | depends="init" |
| 851 | description="Runs the releng tests."> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 852 | <antcall |
| 853 | target="runtests"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 854 | <param |
| 855 | name="testPlugin" |
| 856 | value="${org.eclipse.wtp.releng.tests}" /> |
| 857 | <param |
| 858 | name="report" |
| 859 | value="org.eclipse.wtp.releng.tests" /> |
| 860 | </antcall> |
| 861 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 862 | <target |
| 863 | name="all" |
| 864 | depends="init"> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 865 | <echo |
| 866 | level="info" |
| 867 | message="Starting WTP Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 868 | <echo |
| 869 | level="info" |
| 870 | message="Starting releng tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 871 | <antcall |
| 872 | target="releng-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 873 | <echo |
| 874 | level="info" |
| 875 | message="Starting wst-server-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 876 | <antcall |
| 877 | target="wst-server-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 878 | <echo |
| 879 | level="info" |
| 880 | message="Starting wst-monitor-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 881 | <antcall |
| 882 | target="wst-monitor-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 883 | <echo |
| 884 | level="info" |
| 885 | message="Starting wst-cache-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 886 | <antcall |
| 887 | target="wst-cache-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 888 | <echo |
| 889 | level="info" |
| 890 | message="Starting wst-common-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 891 | <antcall |
| 892 | target="wst-common-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 893 | <echo |
| 894 | level="info" |
| 895 | message="Starting wst-common-snippets-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 896 | <antcall |
| 897 | target="wst-common-snippets-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 898 | <echo |
| 899 | level="info" |
| 900 | message="Starting wst-sse-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 901 | <antcall |
| 902 | target="wst-sse-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 903 | <echo |
| 904 | level="info" |
| 905 | message="Starting wst-xml-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 906 | <antcall |
| 907 | target="wst-xml-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 908 | <echo |
| 909 | level="info" |
| 910 | message="Starting wst-wsdl-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 911 | <antcall |
| 912 | target="wst-wsdl-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 913 | <echo |
| 914 | level="info" |
| 915 | message="Starting wst-wsi-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 916 | <antcall |
| 917 | target="wst-wsi-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 918 | <echo |
| 919 | level="info" |
| 920 | message="Starting wst-xsd-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 921 | <antcall |
| 922 | target="wst-xsd-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 923 | <echo |
| 924 | level="info" |
| 925 | message="Starting wst-html-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 926 | <antcall |
| 927 | target="wst-html-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 928 | <echo |
| 929 | level="info" |
| 930 | message="Starting wst-dtd-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 931 | <antcall |
| 932 | target="wst-dtd-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 933 | <echo |
| 934 | level="info" |
| 935 | message="Starting wst-css-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 936 | <antcall |
| 937 | target="wst-css-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 938 | <echo |
| 939 | level="info" |
| 940 | message="Starting wst-ws-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 941 | <antcall |
| 942 | target="wst-ws-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 943 | <echo |
| 944 | level="info" |
| 945 | message="Starting jst-server-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 946 | <antcall |
| 947 | target="jst-server-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 948 | <echo |
| 949 | level="info" |
| 950 | message="Starting jst-server-tomcat-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 951 | <antcall |
| 952 | target="jst-server-tomcat-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 953 | <echo |
| 954 | level="info" |
| 955 | message="Starting jst-server-geronimo-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 956 | <antcall |
| 957 | target="jst-server-geronimo-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 958 | <echo |
| 959 | level="info" |
| 960 | message="Starting jst-server-generic-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 961 | <antcall |
| 962 | target="jst-server-generic-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 963 | <echo |
| 964 | level="info" |
| 965 | message="Starting jst-jem-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 966 | <antcall |
| 967 | target="jst-jem-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 968 | <echo |
| 969 | level="info" |
| 970 | message="Starting jst-j2ee-core-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 971 | <antcall |
| 972 | target="jst-j2ee-core-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 973 | <echo |
| 974 | level="info" |
| 975 | message="Starting jst-j2ee-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 976 | <antcall |
| 977 | target="jst-j2ee-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 978 | <echo |
| 979 | level="info" |
| 980 | message="Starting jst-validation-framework-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 981 | <antcall |
| 982 | target="jst-validation-framework-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 983 | <echo |
| 984 | level="info" |
| 985 | message="Starting jst-jsp-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 986 | <antcall |
| 987 | target="jst-jsp-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 988 | <echo |
| 989 | level="info" |
| 990 | message="Starting jst-ws-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 991 | <antcall |
| 992 | target="jst-ws-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 993 | <echo |
| 994 | level="info" |
| 995 | message="Starting wst-facets-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 996 | <antcall |
| 997 | target="wst-facets-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 998 | <echo |
| 999 | level="info" |
| 1000 | message="Starting JPT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1001 | <echo |
| 1002 | level="info" |
| 1003 | message="Starting jpt-utility-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1004 | <antcall |
| 1005 | target="jpt-utility-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1006 | <echo |
| 1007 | level="info" |
| 1008 | message="Starting dali-core-tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1009 | <antcall |
| 1010 | target="dali-core-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1011 | <echo |
| 1012 | level="info" |
| 1013 | message="Ended JPT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1014 | <echo |
| 1015 | level="info" |
| 1016 | message="Starting JSF Tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1017 | <antcall |
| 1018 | target="jsf-tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1019 | <echo |
| 1020 | level="info" |
| 1021 | message="Ended WTP Unit Tests" /> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 1022 | <echo |
| 1023 | level="info" |
| 1024 | message="Starting JSDT Tests" /> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1025 | <antcall |
| 1026 | target="jsdt-tests" /> |
david_williams | 30cb3bc | 2007-12-11 18:40:53 +0000 | [diff] [blame] | 1027 | <echo |
| 1028 | level="info" |
| 1029 | message="Ended JSDT Unit Tests" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1030 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1031 | <target |
| 1032 | name="genHtml" |
| 1033 | description="Generates HTML results with provided JUNIT.XSL provided" |
| 1034 | unless="genHtml.disable"> |
david_williams | 6b198a7 | 2008-01-26 06:19:56 +0000 | [diff] [blame] | 1035 | <xslt |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1036 | style="JUNIT.XSL" |
| 1037 | basedir="${results}/xml" |
| 1038 | destdir="${results}/html" /> |
| 1039 | </target> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1040 | <target |
| 1041 | name="computePluginVersion" |
| 1042 | depends="test2properties" |
| 1043 | unless="test2propertiesexists"> |
| 1044 | <java |
| 1045 | classname="org.eclipse.wtp.releng.test.ComputePluginVersion"> |
| 1046 | <classpath> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1047 | <pathelement |
| 1048 | location="ComputePluginVersion.jar" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1049 | </classpath> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1050 | <arg |
| 1051 | value="${testRoot}/eclipse/plugins" /> |
| 1052 | <arg |
| 1053 | value="${testRoot}/test2.properties" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1054 | </java> |
| 1055 | </target> |
david_williams | 222a947 | 2008-01-26 22:06:59 +0000 | [diff] [blame] | 1056 | <target |
| 1057 | name="test2properties"> |
| 1058 | <condition |
| 1059 | property="test2propertiesexists"> |
| 1060 | <available |
| 1061 | file="${testRoot}/test2.properties" /> |
david_williams | 403beae | 2007-12-09 02:10:40 +0000 | [diff] [blame] | 1062 | </condition> |
| 1063 | </target> |
jeffliu | 5e3253d | 2006-06-13 19:38:32 +0000 | [diff] [blame] | 1064 | </project> |