Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java185 IOException c2Exception = new IOException(); in testCloseExceptionsSuppressed_whenExceptionThrownFromTryBlock() local
188 TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception)); in testCloseExceptionsSuppressed_whenExceptionThrownFromTryBlock()
206 new Suppression(c2, tryException, c2Exception), in testCloseExceptionsSuppressed_whenExceptionThrownFromTryBlock()
215 IOException c2Exception = new IOException(); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable() local
219 TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception)); in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
233 new Suppression(c2, c3Exception, c2Exception), in testCloseExceptionsSuppressed_whenExceptionThrownClosingFirstCloseable()
242 RuntimeException c2Exception = new RuntimeException(); in testRuntimeExceptions() local
245 TestCloseable c2 = closer.register(TestCloseable.throwsOnClose(c2Exception)); in testRuntimeExceptions()
263 new Suppression(c2, tryException, c2Exception), in testRuntimeExceptions()
271 Error c2Exception = new Error(); in testErrors() local
[all …]