Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testCloseNull (0.12 sec)

  1. src/test/java/org/codelibs/core/io/CloseableUtilTest.java

            CloseableUtil.close(out);
            assertThat(out.getNotify(), is("closed"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCloseNull() throws Exception {
            CloseableUtil.close((OutputStream) null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testClose_noThrowIOException() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/CloseablesTest.java

        TestReader in = new TestReader(TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseNull() throws IOException {
        Closeables.close(null, true);
        Closeables.close(null, false);
      }
    
      public void testCloseQuietlyNull_inputStream() {
        Closeables.closeQuietly((InputStream) null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CloseablesTest.java

        TestReader in = new TestReader(TestOption.CLOSE_THROWS);
        Closeables.closeQuietly(in);
        assertTrue(in.closed());
      }
    
      public void testCloseNull() throws IOException {
        Closeables.close(null, true);
        Closeables.close(null, false);
      }
    
      public void testCloseQuietlyNull_inputStream() {
        Closeables.closeQuietly((InputStream) null);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4K bytes
    - Viewed (0)
Back to top