Home
last modified time | relevance | path

Searched refs:patterns (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldStringTest.java171 String [] patterns = {"[hw\\p{Upper}]", "(o|l){2,}", "([\'\"]?)(\\d+)", in test_replaceAll() local
178 for(int i = 0; i < patterns.length; i++) { in test_replaceAll()
180 results[i], str.replaceAll(patterns[i], "?")); in test_replaceAll()
193 String [] patterns = {"[hw\\p{Upper}]", "(o|l){2,}", "([\'\"]?)(\\d+)", in test_replaceFirst() local
200 for(int i = 0; i < patterns.length; i++) { in test_replaceFirst()
202 results[i], str.replaceFirst(patterns[i], "?")); in test_replaceFirst()
215 String [] patterns = {"[!.1]", "(\\d+).*e(l+)o.*orld"}; in test_splitLString() local
220 for(int i = 0; i < patterns.length; i++) { in test_splitLString()
222 patterns[i], Arrays.equals(results[i], str.split(patterns[i]))); in test_splitLString()
453 String[] patterns = { in test_matches() local
[all …]
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternTest.java474 String[] patterns = { "5{,2}", "{5asd", "{hgdhg", "{5,hjkh", "{,5hdsh", in testQuantCompileNeg() local
476 for (String element : patterns) { in testQuantCompileNeg()
496 String[] patterns = {/* "(abc){1,3}", */"abc{2,}", "abc{5}" }; in testQuantCompilePos() local
497 for (String element : patterns) { in testQuantCompilePos()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java912 String[] patterns = { in test_applyPattern_icu2GroupingSizes() local
929 for (int i = 0; i < patterns.length; i++) { in test_applyPattern_icu2GroupingSizes()
930 decFormat.applyPattern(patterns[i]); in test_applyPattern_icu2GroupingSizes()
932 assertEquals("Failed to apply following pattern: " + patterns[i] + in test_applyPattern_icu2GroupingSizes()
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...