Home
last modified time | relevance | path

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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteExceptionTest.java42 Throwable[] thirdSuppressedExceptions = thirdException.getSuppressed(); in getConnectionIOException_multiple()
45 Throwable[] secondSuppressedException = secondException.getSuppressed(); in getConnectionIOException_multiple()
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java342 assertEquals(0, getSuppressed(thrownException).length); in testSuppressingSuppressorIfPossible()
352 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); in testSuppressingSuppressorIfPossible()
364 static Throwable[] getSuppressed(Throwable throwable) { in getSuppressed() method in CloserTest
366 Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed"); in getSuppressed() local
367 return (Throwable[]) getSuppressed.invoke(throwable); in getSuppressed()
DCharSourceTest.java335 return CloserTest.getSuppressed(expected).length; in runSuppressionFailureTest()
DByteSourceTest.java411 return CloserTest.getSuppressed(expected).length; in runSuppressionFailureTest()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java619 assertEquals(1, expected.getSuppressed().length); in connectViaHttpsWithSSLFallbackFailuresRecorded()