- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testCloseQuietly_inputStreamWithEatenException (0.26 sec)
-
android/guava-tests/test/com/google/common/io/CloseablesTest.java
// make sure that the exception is thrown if 'swallowException' is false // when the mock does throw an exception. setupCloseable(true); doClose(mockCloseable, false); } public void testCloseQuietly_inputStreamWithEatenException() throws IOException { TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); Closeables.closeQuietly(in); assertTrue(in.closed());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloseablesTest.java
// make sure that the exception is thrown if 'swallowException' is false // when the mock does throw an exception. setupCloseable(true); doClose(mockCloseable, false); } public void testCloseQuietly_inputStreamWithEatenException() throws IOException { TestInputStream in = new TestInputStream(new ByteArrayInputStream(new byte[1]), TestOption.CLOSE_THROWS); Closeables.closeQuietly(in); assertTrue(in.closed());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0)