Path: blob/master/test/functional/cmdLineTests/shareClassTests/SCHelperCompatTests/HelperCompatibilityTests_8.xml
6004 views
<?xml version="1.0" encoding="UTF-8" standalone="no"?>12<!--3Copyright (c) 2006, 2021 IBM Corp. and others45This program and the accompanying materials are made available under6the terms of the Eclipse Public License 2.0 which accompanies this7distribution and is available at https://www.eclipse.org/legal/epl-2.0/8or the Apache License, Version 2.0 which accompanies this distribution and9is available at https://www.apache.org/licenses/LICENSE-2.0.1011This Source Code may also be made available under the following12Secondary Licenses when the conditions for such availability set13forth in the Eclipse Public License, v. 2.0 are satisfied: GNU14General Public License, version 2 with the GNU Classpath15Exception [1] and GNU General Public License, version 2 with the16OpenJDK Assembly Exception [2].1718[1] https://www.gnu.org/software/classpath/license.html19[2] http://openjdk.java.net/legal/assembly-exception.html2021SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception22-->2324<!DOCTYPE suite SYSTEM "cmdlinetester.dtd">2526<!-- #### RUN TokenHelperTests SUITE #### -->27<suite id="Shared Classes HelperCompatibilityTests Suite">2829<!-- Used to set which mode the test cases are run in -->30<variable name="currentMode" value=" "/>3132<!-- Our test modes for this suite -->33<variable name="mode204" value="-Xshareclasses:name=HelperCompatibilityTests"/>34<variable name="mode205" value="-Xshareclasses:name=HelperCompatibilityTests,noClasspathCacheing"/>3536<!-- Set variables up -->37<variable name="JAVAC_DIR" value="$TEST_JDK_HOME$/bin"/>38<variable name="BOOTCLASSPATH" value="-Xbootclasspath/a:./Utils$CPDL$."/>3940<variable name="currentMode" value="$mode204$"/>4142<!-- set currentMode variable depending on the value of loopIndex -->43<if testVariable="SCMODE" testValue="204" resultVariable="currentMode" resultValue="$mode204$"/>44<if testVariable="SCMODE" testValue="205" resultVariable="currentMode" resultValue="$mode205$"/>45<if testVariable="SCMODE" testValue="206" resultVariable="currentMode" resultValue="$mode206$"/>4647<echo value=" "/>48<echo value="#######################################################"/>49<echo value="Running tests in mode $SCMODE$ with command line options: $currentMode$"/>50<echo value="#######################################################"/>51<echo value=" "/>5253<exec command="$JAVA_EXE$ -Xshareclasses:destroyAll" quiet="false"/>5455<!-- Run HelperCompatibilityTests -->56<test id="HelperCompatibilityTest 1" timeout="600" runPath=".">57<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperCompatibilityTest -testfile "$PROPS_DIR$/Test1.props"</command>58<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>59<output type="failure" caseSensitive="yes" regex="no">Error:</output>60<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>61<output type="failure" caseSensitive="yes" regex="no">Exception:</output>62</test>6364<test id="destroy cache" timeout="600" runPath=".">65<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>66<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>67<output type="success" caseSensitive="yes" regex="no">is destroyed</output>68<output type="failure" caseSensitive="yes" regex="no">Error:</output>69<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>70<output type="failure" caseSensitive="yes" regex="no">Exception:</output>71</test>7273<test id="HelperCompatibilityTest 2" timeout="600" runPath=".">74<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperCompatibilityTest -testfile "$PROPS_DIR$/Test2.props"</command>75<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>76<output type="failure" caseSensitive="yes" regex="no">Error:</output>77<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>78<output type="failure" caseSensitive="yes" regex="no">Exception:</output>79</test>8081<test id="destroy cache" timeout="600" runPath=".">82<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>83<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>84<output type="success" caseSensitive="yes" regex="no">is destroyed</output>85<output type="failure" caseSensitive="yes" regex="no">Error:</output>86<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>87<output type="failure" caseSensitive="yes" regex="no">Exception:</output>88</test>8990<test id="HelperCompatibilityTest 3" timeout="600" runPath=".">91<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test3.props" -javacdir $JAVAC_DIR$</command>92<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>93<output type="failure" caseSensitive="yes" regex="no">Error:</output>94<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>95<output type="failure" caseSensitive="yes" regex="no">Exception:</output>96</test>9798<test id="destroy cache" timeout="600" runPath=".">99<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>100<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>101<output type="success" caseSensitive="yes" regex="no">is destroyed</output>102<output type="failure" caseSensitive="yes" regex="no">Error:</output>103<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>104<output type="failure" caseSensitive="yes" regex="no">Exception:</output>105</test>106107<test id="HelperCompatibilityTest 4" timeout="600" runPath=".">108<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLHelperURLClassPathHelperCompatibilityTest -testfile "$PROPS_DIR$/Test4.props"</command>109<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>110<output type="failure" caseSensitive="yes" regex="no">Error:</output>111<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>112<output type="failure" caseSensitive="yes" regex="no">Exception:</output>113</test>114115<test id="destroy cache" timeout="600" runPath=".">116<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>117<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>118<output type="success" caseSensitive="yes" regex="no">is destroyed</output>119<output type="failure" caseSensitive="yes" regex="no">Error:</output>120<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>121<output type="failure" caseSensitive="yes" regex="no">Exception:</output>122</test>123124<test id="HelperCompatibilityTest 5" timeout="600" runPath=".">125<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ TokenIncompatibilityTest</command>126<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>127<output type="failure" caseSensitive="yes" regex="no">Error:</output>128<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>129<output type="failure" caseSensitive="yes" regex="no">Exception:</output>130</test>131132<test id="destroy cache" timeout="600" runPath=".">133<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>134<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>135<output type="success" caseSensitive="yes" regex="no">is destroyed</output>136<output type="failure" caseSensitive="yes" regex="no">Error:</output>137<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>138<output type="failure" caseSensitive="yes" regex="no">Exception:</output>139</test>140141<test id="HelperCompatibilityTest 6" timeout="600" runPath=".">142<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLHelperURLClassPathHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test5.props" -javacdir $JAVAC_DIR$</command>143<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>144<output type="failure" caseSensitive="yes" regex="no">Error:</output>145<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>146<output type="failure" caseSensitive="yes" regex="no">Exception:</output>147</test>148149<test id="destroy cache" timeout="600" runPath=".">150<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>151<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>152<output type="success" caseSensitive="yes" regex="no">is destroyed</output>153<output type="failure" caseSensitive="yes" regex="no">Error:</output>154<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>155<output type="failure" caseSensitive="yes" regex="no">Exception:</output>156</test>157158<test id="HelperCompatibilityTest 7" timeout="600" runPath=".">159<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperCompatibilityTest -testfile "$PROPS_DIR$/Test6.props"</command>160<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>161<output type="failure" caseSensitive="yes" regex="no">Error:</output>162<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>163<output type="failure" caseSensitive="yes" regex="no">Exception:</output>164</test>165166<test id="destroy cache" timeout="600" runPath=".">167<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>168<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>169<output type="success" caseSensitive="yes" regex="no">is destroyed</output>170<output type="failure" caseSensitive="yes" regex="no">Error:</output>171<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>172<output type="failure" caseSensitive="yes" regex="no">Exception:</output>173</test>174175<test id="HelperCompatibilityTest 8" timeout="600" runPath=".">176<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperCompatibilityTest -testfile "$PROPS_DIR$/Test7.props"</command>177<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>178<output type="failure" caseSensitive="yes" regex="no">Error:</output>179<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>180<output type="failure" caseSensitive="yes" regex="no">Exception:</output>181</test>182183<test id="destroy cache" timeout="600" runPath=".">184<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>185<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>186<output type="success" caseSensitive="yes" regex="no">is destroyed</output>187<output type="failure" caseSensitive="yes" regex="no">Error:</output>188<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>189<output type="failure" caseSensitive="yes" regex="no">Exception:</output>190</test>191192<test id="HelperCompatibilityTest 9" timeout="600" runPath=".">193<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLClassPathHelperURLHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test8.props" -javacdir $JAVAC_DIR$</command>194<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>195<output type="failure" caseSensitive="yes" regex="no">Error:</output>196<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>197<output type="failure" caseSensitive="yes" regex="no">Exception:</output>198</test>199200<test id="destroy cache 9" timeout="600" runPath=".">201<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>202<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>203<output type="success" caseSensitive="yes" regex="no">is destroyed</output>204<output type="failure" caseSensitive="yes" regex="no">Error:</output>205<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>206<output type="failure" caseSensitive="yes" regex="no">Exception:</output>207</test>208209<test id="HelperCompatibilityTest 10" timeout="600" runPath=".">210<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLHelperURLClassPathHelperCompatibilityTest -testfile "$PROPS_DIR$/Test9.props"</command>211<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>212<output type="failure" caseSensitive="yes" regex="no">Error:</output>213<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>214<output type="failure" caseSensitive="yes" regex="no">Exception:</output>215</test>216217<test id="destroy cache" timeout="600" runPath=".">218<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>219<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>220<output type="success" caseSensitive="yes" regex="no">is destroyed</output>221<output type="failure" caseSensitive="yes" regex="no">Error:</output>222<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>223<output type="failure" caseSensitive="yes" regex="no">Exception:</output>224</test>225226<test id="HelperCompatibilityTest 11" timeout="600" runPath=".">227<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ URLHelperURLClassPathHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test10.props" -javacdir $JAVAC_DIR$</command>228<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>229<output type="failure" caseSensitive="yes" regex="no">Error:</output>230<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>231<output type="failure" caseSensitive="yes" regex="no">Exception:</output>232</test>233234<test id="destroy cache 11" timeout="600" runPath=".">235<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>236<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>237<output type="success" caseSensitive="yes" regex="no">is destroyed</output>238<output type="failure" caseSensitive="yes" regex="no">Error:</output>239<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>240<output type="failure" caseSensitive="yes" regex="no">Exception:</output>241</test>242243<test id="HelperCompatibilityTest 12" timeout="600" runPath=".">244<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLClassPathHelperURLHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test11.props" -javacdir $JAVAC_DIR$</command>245<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>246<output type="failure" caseSensitive="yes" regex="no">Error:</output>247<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>248<output type="failure" caseSensitive="yes" regex="no">Exception:</output>249</test>250251<test id="destroy cache" timeout="600" runPath=".">252<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>253<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>254<output type="success" caseSensitive="yes" regex="no">is destroyed</output>255<output type="failure" caseSensitive="yes" regex="no">Error:</output>256<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>257<output type="failure" caseSensitive="yes" regex="no">Exception:</output>258</test>259260<test id="HelperCompatibilityTest 13" timeout="600" runPath=".">261<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLClassPathHelperURLHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test12.props" -javacdir $JAVAC_DIR$</command>262<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>263<output type="failure" caseSensitive="yes" regex="no">Error:</output>264<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>265<output type="failure" caseSensitive="yes" regex="no">Exception:</output>266</test>267268<test id="destroy cache" timeout="600" runPath=".">269<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>270<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>271<output type="success" caseSensitive="yes" regex="no">is destroyed</output>272<output type="failure" caseSensitive="yes" regex="no">Error:</output>273<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>274<output type="failure" caseSensitive="yes" regex="no">Exception:</output>275</test>276277<test id="HelperCompatibilityTest 14" timeout="600" runPath=".">278<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLClassPathHelperURLHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test13.props" -javacdir $JAVAC_DIR$</command>279<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>280<output type="failure" caseSensitive="yes" regex="no">Error:</output>281<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>282<output type="failure" caseSensitive="yes" regex="no">Exception:</output>283</test>284285<test id="destroy cache" timeout="600" runPath=".">286<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>287<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>288<output type="success" caseSensitive="yes" regex="no">is destroyed</output>289<output type="failure" caseSensitive="yes" regex="no">Error:</output>290<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>291<output type="failure" caseSensitive="yes" regex="no">Exception:</output>292</test>293294<test id="HelperCompatibilityTest 15" timeout="600" runPath=".">295<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLHelperURLClassPathHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test14.props" -javacdir $JAVAC_DIR$</command>296<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>297<output type="failure" caseSensitive="yes" regex="no">Error:</output>298<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>299<output type="failure" caseSensitive="yes" regex="no">Exception:</output>300</test>301302<test id="destroy cache" timeout="600" runPath=".">303<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>304<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>305<output type="success" caseSensitive="yes" regex="no">is destroyed</output>306<output type="failure" caseSensitive="yes" regex="no">Error:</output>307<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>308<output type="failure" caseSensitive="yes" regex="no">Exception:</output>309</test>310311<test id="HelperCompatibilityTest 16" timeout="600" runPath=".">312<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLHelperURLClassPathHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test15.props" -javacdir $JAVAC_DIR$</command>313<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>314<output type="failure" caseSensitive="yes" regex="no">Error:</output>315<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>316<output type="failure" caseSensitive="yes" regex="no">Exception:</output>317</test>318319<test id="destroy cache" timeout="600" runPath=".">320<command>$JAVA_EXE$ -Xshareclasses:name=HelperCompatibilityTests,destroy</command>321<output type="success" caseSensitive="yes" regex="no">has been destroyed</output>322<output type="success" caseSensitive="yes" regex="no">is destroyed</output>323<output type="failure" caseSensitive="yes" regex="no">Error:</output>324<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>325<output type="failure" caseSensitive="yes" regex="no">Exception:</output>326</test>327328<test id="HelperCompatibilityTest 17" timeout="600" runPath=".">329<command>$JAVA_EXE$ $currentMode$ $BOOTCLASSPATH$ PartitioningURLHelperURLClassPathHelperStaleEntryCompatibilityTest -testfile "$PROPS_DIR$/Test16.props" -javacdir $JAVAC_DIR$</command>330<output type="success" caseSensitive="yes" regex="no">TEST PASSED</output>331<output type="failure" caseSensitive="yes" regex="no">Error:</output>332<output type="failure" caseSensitive="no" regex="no">Unhandled Exception</output>333<output type="failure" caseSensitive="yes" regex="no">Exception:</output>334</test>335336<exec command="$JAVA_EXE$ -Xshareclasses:destroyAll" quiet="false"/>337338</suite>339340