Home
last modified time | relevance | path

Searched refs:illegalPattern (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegression.java298 String illegalPattern = "ab { '}' de"; in Test4114743() local
300 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() local
376 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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegression.java294 String illegalPattern = "ab { '}' de"; in Test4114743() local
296 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() local
372 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()
/external/icu/icu4c/source/test/intltest/
Dmsfmrgts.cpp458 UnicodeString illegalPattern("ab { '}' de"); in Test4114743() local
459 mf->applyPattern(illegalPattern, status); in Test4114743()
461 errln("illegal pattern: \"" + illegalPattern + "\""); in Test4114743()
565 UnicodeString illegalPattern("format: {0, xxxYYY}"); in Test4113018() local
568 logln("illegal pattern: \"" + illegalPattern + "\""); in Test4113018()
570 mf->applyPattern(illegalPattern, status); in Test4113018()
572 errln("Should have thrown IllegalArgumentException for pattern : " + illegalPattern); in Test4113018()