Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadMethodsWithZeroLength (0.17 sec)

  1. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            assertEquals(0, response.readDataWireFormat(largeBuffer, 0, 65536));
        }
    
        @Test
        @DisplayName("Test boundary conditions for read methods with zero length")
        void testReadMethodsWithZeroLength() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(0, response.readSetupWireFormat(buffer, 0, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
Back to top