Home
last modified time | relevance | path

Searched refs:re (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeExceptionTest.java27 RuntimeException re = new RuntimeException(message, npe); in test_ConstructorLStringLThrowable() local
28 assertEquals(message, re.getMessage()); in test_ConstructorLStringLThrowable()
29 assertEquals(npe, re.getCause()); in test_ConstructorLStringLThrowable()
31 re = new RuntimeException(null, npe); in test_ConstructorLStringLThrowable()
32 assertNull(re.getMessage()); in test_ConstructorLStringLThrowable()
34 re = new RuntimeException(message, null); in test_ConstructorLStringLThrowable()
35 assertNull(re.getCause()); in test_ConstructorLStringLThrowable()
40 RuntimeException re = new RuntimeException(npe); in test_ConstructorLThrowable() local
41 assertEquals(npe, re.getCause()); in test_ConstructorLThrowable()
43 re = new RuntimeException((Throwable) null); in test_ConstructorLThrowable()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java60 } catch (RuntimeException re) { in test_engineCreateSSLEngine_01()
61 String str = re.getMessage(); in test_engineCreateSSLEngine_01()
79 } catch (RuntimeException re) { in test_engineCreateSSLEngine_02()
80 String str = re.getMessage(); in test_engineCreateSSLEngine_02()
110 } catch (RuntimeException re) { in test_commonTest_01()
111 String str = re.getMessage(); in test_commonTest_01()
121 } catch (RuntimeException re) { in test_commonTest_01()
122 String str = re.getMessage(); in test_commonTest_01()
132 } catch (RuntimeException re) { in test_commonTest_01()
133 String str = re.getMessage(); in test_commonTest_01()
[all …]
/libcore/luni/src/main/java/java/util/regex/
DSplitter.java39 public static String[] fastSplit(String re, String input, int limit) { in fastSplit() argument
41 int len = re.length(); in fastSplit()
45 char ch = re.charAt(0); in fastSplit()
51 ch = re.charAt(1); in fastSplit()
104 public static String[] split(Pattern pattern, String re, String input, int limit) { in split() argument
105 String[] fastResult = fastSplit(re, input, limit); in split()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java165 } catch (RuntimeException re) { in NativeDecimalFormat()
166 throw new IllegalArgumentException("syntax error: " + re.getMessage() + ": " + pattern); in NativeDecimalFormat()
554 } catch (RuntimeException re) { in applyPattern()
555 throw new IllegalArgumentException("syntax error: " + re.getMessage() + ": " + pattern); in applyPattern()
/libcore/expectations/
Dbrokentests.txt23 description: "We're retiring the security manager. Unfortunately, tests all over the place
24 need to check that they're secure, so they all fail when we refuse to install