- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testCloseQuietly_inputStreamWithEatenException (0.37 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.1K bytes - Viewed (0)