187 PARAM3=JP |
187 PARAM3=JP |
188 else |
188 else |
189 PARAM2=zh |
189 PARAM2=zh |
190 PARAM3=CN |
190 PARAM3=CN |
191 fi |
191 fi |
|
192 SPICLASSES= |
192 runTest |
193 runTest |
193 |
194 |
194 # testing SPI is NOT selected, as there is none. |
195 # testing SPI is NOT selected, as there is none. |
195 METHODNAME=adapterTest |
196 METHODNAME=adapterTest |
196 PREFLIST=SPI,JRE |
197 PREFLIST=SPI,JRE |
197 PARAM1=JRE |
198 PARAM1=JRE |
198 PARAM2=en |
199 PARAM2=en |
199 PARAM3=US |
200 PARAM3=US |
|
201 SPICLASSES= |
200 runTest |
202 runTest |
201 |
203 |
202 # testing the order, variaton #1. This assumes en_GB DateFormat data are available both in JRE & CLDR |
204 # testing the order, variaton #1. This assumes en_GB DateFormat data are available both in JRE & CLDR |
203 METHODNAME=adapterTest |
205 METHODNAME=adapterTest |
204 PREFLIST=CLDR,JRE |
206 PREFLIST=CLDR,JRE |
205 PARAM1=CLDR |
207 PARAM1=CLDR |
206 PARAM2=en |
208 PARAM2=en |
207 PARAM3=GB |
209 PARAM3=GB |
|
210 SPICLASSES= |
208 runTest |
211 runTest |
209 |
212 |
210 # testing the order, variaton #2. This assumes en_GB DateFormat data are available both in JRE & CLDR |
213 # testing the order, variaton #2. This assumes en_GB DateFormat data are available both in JRE & CLDR |
211 METHODNAME=adapterTest |
214 METHODNAME=adapterTest |
212 PREFLIST=JRE,CLDR |
215 PREFLIST=JRE,CLDR |
213 PARAM1=JRE |
216 PARAM1=JRE |
214 PARAM2=en |
217 PARAM2=en |
215 PARAM3=GB |
218 PARAM3=GB |
|
219 SPICLASSES= |
216 runTest |
220 runTest |
217 |
221 |
218 # testing the order, variaton #3 for non-existent locale in JRE assuming "haw" is not in JRE. |
222 # testing the order, variaton #3 for non-existent locale in JRE assuming "haw" is not in JRE. |
219 METHODNAME=adapterTest |
223 METHODNAME=adapterTest |
220 PREFLIST=JRE,CLDR |
224 PREFLIST=JRE,CLDR |
221 PARAM1=CLDR |
225 PARAM1=CLDR |
222 PARAM2=haw |
226 PARAM2=haw |
223 PARAM3=GB |
227 PARAM3=GB |
|
228 SPICLASSES= |
224 runTest |
229 runTest |
225 |
230 |
226 # testing the order, variaton #4 for the bug 7196799. CLDR's "zh" data should be used in "zh_CN" |
231 # testing the order, variaton #4 for the bug 7196799. CLDR's "zh" data should be used in "zh_CN" |
227 METHODNAME=adapterTest |
232 METHODNAME=adapterTest |
228 PREFLIST=CLDR |
233 PREFLIST=CLDR |
229 PARAM1=CLDR |
234 PARAM1=CLDR |
230 PARAM2=zh |
235 PARAM2=zh |
231 PARAM3=CN |
236 PARAM3=CN |
|
237 SPICLASSES= |
232 runTest |
238 runTest |
233 |
239 |
234 # testing FALLBACK provider. SPI and invalid one cases. |
240 # testing FALLBACK provider. SPI and invalid one cases. |
235 METHODNAME=adapterTest |
241 METHODNAME=adapterTest |
236 PREFLIST=SPI |
242 PREFLIST=SPI |
237 PARAM1=FALLBACK |
243 PARAM1=FALLBACK |
238 PARAM2=en |
244 PARAM2=en |
239 PARAM3=US |
245 PARAM3=US |
|
246 SPICLASSES= |
240 runTest |
247 runTest |
241 PREFLIST=FOO |
248 PREFLIST=FOO |
242 PARAM1=JRE |
249 PARAM1=JRE |
243 PARAM2=en |
250 PARAM2=en |
244 PARAM3=US |
251 PARAM3=US |
|
252 SPICLASSES= |
245 runTest |
253 runTest |
246 PREFLIST=BAR,SPI |
254 PREFLIST=BAR,SPI |
247 PARAM1=FALLBACK |
255 PARAM1=FALLBACK |
248 PARAM2=en |
256 PARAM2=en |
249 PARAM3=US |
257 PARAM3=US |
|
258 SPICLASSES= |
250 runTest |
259 runTest |
251 |
260 |
252 # testing 7198834 fix. Only works on Windows Vista or upper. |
261 # testing 7198834 fix. Only works on Windows Vista or upper. |
253 METHODNAME=bug7198834Test |
262 METHODNAME=bug7198834Test |
254 PREFLIST=HOST |
263 PREFLIST=HOST |
255 PARAM1= |
264 PARAM1= |
256 PARAM2= |
265 PARAM2= |
257 PARAM3= |
266 PARAM3= |
|
267 SPICLASSES= |
258 runTest |
268 runTest |
259 |
269 |
260 # testing 8000245 fix. |
270 # testing 8000245 fix. |
261 METHODNAME=tzNameTest |
271 METHODNAME=tzNameTest |
262 PREFLIST="JRE -Djava.ext.dirs=${SPIDIR}" |
272 PREFLIST=JRE |
263 PARAM1=Europe/Moscow |
273 PARAM1=Europe/Moscow |
264 PARAM2= |
274 PARAM2= |
265 PARAM3= |
275 PARAM3= |
|
276 SPICLASSES=${SPIDIR} |
266 runTest |
277 runTest |
267 |
278 |
268 # testing 8000615 fix. |
279 # testing 8000615 fix. |
269 METHODNAME=tzNameTest |
280 METHODNAME=tzNameTest |
270 PREFLIST="JRE -Djava.ext.dirs=${SPIDIR}" |
281 PREFLIST=JRE |
271 PARAM1=America/Los_Angeles |
282 PARAM1=America/Los_Angeles |
272 PARAM2= |
283 PARAM2= |
273 PARAM3= |
284 PARAM3= |
|
285 SPICLASSES=${SPIDIR} |
274 runTest |
286 runTest |
275 |
287 |
276 # testing 8001440 fix. |
288 # testing 8001440 fix. |
277 METHODNAME=bug8001440Test |
289 METHODNAME=bug8001440Test |
278 PREFLIST=CLDR |
290 PREFLIST=CLDR |
279 PARAM1= |
291 PARAM1= |
280 PARAM2= |
292 PARAM2= |
281 PARAM3= |
293 PARAM3= |
|
294 SPICLASSES= |
282 runTest |
295 runTest |
283 |
296 |
284 # testing 8010666 fix. |
297 # testing 8010666 fix. |
285 if [ "${DEFLANG}" = "en" ] |
298 if [ "${DEFLANG}" = "en" ] |
286 then |
299 then |
287 METHODNAME=bug8010666Test |
300 METHODNAME=bug8010666Test |
288 PREFLIST=HOST |
301 PREFLIST=HOST |
289 PARAM1= |
302 PARAM1= |
290 PARAM2= |
303 PARAM2= |
291 PARAM3= |
304 PARAM3= |
|
305 SPICLASSES= |
292 runTest |
306 runTest |
293 fi |
307 fi |
294 |
308 |
295 # testing 8013086 fix. |
309 # testing 8013086 fix. |
296 METHODNAME=bug8013086Test |
310 METHODNAME=bug8013086Test |
297 PREFLIST="JRE,SPI -Djava.ext.dirs=${SPIDIR}" |
311 PREFLIST=JRE,SPI |
298 PARAM1=ja |
312 PARAM1=ja |
299 PARAM2=JP |
313 PARAM2=JP |
300 PARAM3= |
314 PARAM3= |
|
315 SPICLASSES=${SPIDIR} |
301 runTest |
316 runTest |
302 |
317 |
303 # testing 8013903 fix. (Windows only) |
318 # testing 8013903 fix. (Windows only) |
304 METHODNAME=bug8013903Test |
319 METHODNAME=bug8013903Test |
305 PREFLIST=HOST,JRE |
320 PREFLIST=HOST,JRE |
306 PARAM1= |
321 PARAM1= |
307 PARAM2= |
322 PARAM2= |
308 PARAM3= |
323 PARAM3= |
|
324 SPICLASSES= |
309 runTest |
325 runTest |
310 METHODNAME=bug8013903Test |
326 METHODNAME=bug8013903Test |
311 PREFLIST=HOST |
327 PREFLIST=HOST |
312 PARAM1= |
328 PARAM1= |
313 PARAM2= |
329 PARAM2= |
314 PARAM3= |
330 PARAM3= |
|
331 SPICLASSES= |
315 runTest |
332 runTest |
316 |
333 |
317 # testing 8027289 fix, if the platform format default is zh_CN |
334 # testing 8027289 fix, if the platform format default is zh_CN |
318 # this assumes Windows' currency symbol for zh_CN is \u00A5, the yen |
335 # this assumes Windows' currency symbol for zh_CN is \u00A5, the yen |
319 # (yuan) sign. |
336 # (yuan) sign. |