Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java216 IOException c3Exception = new IOException(); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable() local
220 TestCloseable c3 = closer.register(TestCloseable.throwsOnClose(c3Exception)); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
225 assertSame(c3Exception, expected); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
233 new Suppression(c2, c3Exception, c2Exception), in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
234 new Suppression(c1, c3Exception, c1Exception)); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
272 Error c3Exception = new Error(); in testErrors() local
276 TestCloseable c3 = closer.register(TestCloseable.throwsOnClose(c3Exception)); in testErrors()
281 assertSame(c3Exception, expected); in testErrors()
289 new Suppression(c2, c3Exception, c2Exception), in testErrors()
290 new Suppression(c1, c3Exception, c1Exception)); in testErrors()