Searched refs:getSuppressed (Results 1 – 5 of 5) sorted by relevance
42 Throwable[] thirdSuppressedExceptions = thirdException.getSuppressed(); in getConnectionIOException_multiple()45 Throwable[] secondSuppressedException = secondException.getSuppressed(); in getConnectionIOException_multiple()
342 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 CloserTest366 Method getSuppressed = Throwable.class.getDeclaredMethod("getSuppressed"); in getSuppressed() local367 return (Throwable[]) getSuppressed.invoke(throwable); in getSuppressed()
335 return CloserTest.getSuppressed(expected).length; in runSuppressionFailureTest()
411 return CloserTest.getSuppressed(expected).length; in runSuppressionFailureTest()
619 assertEquals(1, expected.getSuppressed().length); in connectViaHttpsWithSSLFallbackFailuresRecorded()