Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testNewDataInput_empty (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        assertEquals(expect, in.read());
        in.close();
      }
    
      private static final byte[] bytes = new byte[] {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10};
    
      public void testNewDataInput_empty() {
        byte[] b = new byte[0];
        ByteArrayDataInput in = ByteStreams.newDataInput(b);
        assertThrows(IllegalStateException.class, in::readInt);
      }
    
      public void testNewDataInput_normal() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 22K bytes
    - Click Count (0)
Back to Top