Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnmarkableInputStream (0.16 sec)

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

      }
    
      public void testMarkNotSupported() {
        counter = new CountingInputStream(new UnmarkableInputStream());
    
        IOException expected = assertThrows(IOException.class, () -> counter.reset());
        assertThat(expected).hasMessageThat().isEqualTo("Mark not supported");
      }
    
      private static class UnmarkableInputStream extends InputStream {
        @Override
        public int read() throws IOException {
          return 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top