Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readTrailerWireFormatShouldThrowIOExceptionOnUnexpectedEOF (0.2 sec)

  1. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Verify that 6 bytes were read, which is the expected length.
            assertEquals(6, bytesRead);
        }
    
        @Test
        void readTrailerWireFormatShouldThrowIOExceptionOnUnexpectedEOF() throws IOException {
            // Test that an IOException is thrown if the input stream does not provide enough bytes.
            // Simulate reading less than 6 bytes.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top