Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isInstanceOf (0.19 sec)

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

        byte[] actual = new byte[bytes.length * 2];
        IllegalStateException ex =
            assertThrows(IllegalStateException.class, () -> in.readFully(actual));
        assertThat(ex).hasCauseThat().isInstanceOf(EOFException.class);
      }
    
      public void testNewDataInput_readFullyWithOffset() {
        ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
        byte[] actual = new byte[4];
        in.readFully(actual, 2, 2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        byte[] actual = new byte[bytes.length * 2];
        IllegalStateException ex =
            assertThrows(IllegalStateException.class, () -> in.readFully(actual));
        assertThat(ex).hasCauseThat().isInstanceOf(EOFException.class);
      }
    
      public void testNewDataInput_readFullyWithOffset() {
        ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
        byte[] actual = new byte[4];
        in.readFully(actual, 2, 2);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.9K bytes
    - Viewed (0)
Back to top