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.java45 Throwable[] thirdSuppressedExceptions = thirdException.getSuppressed(); in getConnectionIOException_multiple()
48 Throwable[] secondSuppressedException = secondException.getSuppressed(); in getConnectionIOException_multiple()
DURLConnectionTest.java639 assertEquals(1, e.getSuppressed().length); in connectViaHttpsWithSSLFallbackFailuresRecorded()
/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java341 assertEquals(0, getSuppressed(thrownException).length); in testSuppressingSuppressorIfPossible()
351 ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(getSuppressed(thrownException)); in testSuppressingSuppressorIfPossible()
363 static Throwable[] getSuppressed(Throwable throwable) { in getSuppressed() method in CloserTest
365 Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed"); in getSuppressed() local
366 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()