Searched refs:illegalPattern (Results 1 – 3 of 3) sorted by relevance
298 String illegalPattern = "ab { '}' de"; in Test4114743() local300 mf.applyPattern(illegalPattern); in Test4114743()301 errln("illegal pattern: \"" + illegalPattern + "\""); in Test4114743()303 if (illegalPattern.equals(mf.toPattern())) in Test4114743()374 String illegalPattern = "format: {0, xxxYYY}"; in Test4113018() local376 logln("illegal pattern: \"" + illegalPattern + "\""); in Test4113018()378 mf.applyPattern(illegalPattern); in Test4113018()379 errln("Should have thrown IllegalArgumentException for pattern : " + illegalPattern); in Test4113018()381 if (illegalPattern.equals(mf.toPattern())) in Test4113018()
294 String illegalPattern = "ab { '}' de"; in Test4114743() local296 mf.applyPattern(illegalPattern); in Test4114743()297 errln("illegal pattern: \"" + illegalPattern + "\""); in Test4114743()299 if (illegalPattern.equals(mf.toPattern())) in Test4114743()370 String illegalPattern = "format: {0, xxxYYY}"; in Test4113018() local372 logln("illegal pattern: \"" + illegalPattern + "\""); in Test4113018()374 mf.applyPattern(illegalPattern); in Test4113018()375 errln("Should have thrown IllegalArgumentException for pattern : " + illegalPattern); in Test4113018()377 if (illegalPattern.equals(mf.toPattern())) in Test4113018()
458 UnicodeString illegalPattern("ab { '}' de"); in Test4114743() local459 mf->applyPattern(illegalPattern, status); in Test4114743()461 errln("illegal pattern: \"" + illegalPattern + "\""); in Test4114743()565 UnicodeString illegalPattern("format: {0, xxxYYY}"); in Test4113018() local568 logln("illegal pattern: \"" + illegalPattern + "\""); in Test4113018()570 mf->applyPattern(illegalPattern, status); in Test4113018()572 errln("Should have thrown IllegalArgumentException for pattern : " + illegalPattern); in Test4113018()