Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMethodsThrowWhenClosed (0.12 sec)

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

        assertThrows(IllegalArgumentException.class, () -> reader.skip(-1));
    
        assertThrows(IllegalArgumentException.class, () -> reader.mark(-1));
      }
    
      public void testMethodsThrowWhenClosed() throws IOException {
        CharSequenceReader reader = new CharSequenceReader("");
        reader.close();
    
        assertThrows(IOException.class, () -> reader.read());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top