Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testExceptionThrown_whileClosingLastCloseable (0.52 sec)

  1. android/guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertNull(c3);
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
        IOException exception = new IOException();
    
        // c1 is added first, closed last
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        assertTrue(c1.isClosed());
        assertTrue(c2.isClosed());
        assertNull(c3);
    
        assertTrue(suppressor.suppressions.isEmpty());
      }
    
      public void testExceptionThrown_whileClosingLastCloseable() throws IOException {
        Closer closer = new Closer(suppressor);
    
        IOException exception = new IOException();
    
        // c1 is added first, closed last
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top