Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadMethodsWithMaxLength (1 sec)

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

            assertEquals(0, response.readDataWireFormat(buffer, 99, 0));
        }
    
        @Test
        @DisplayName("Test boundary conditions for read methods with maximum length")
        void testReadMethodsWithMaxLength() {
            // Arrange
            byte[] buffer = new byte[100];
    
            // Act & Assert
            assertEquals(0, response.readSetupWireFormat(buffer, 0, Integer.MAX_VALUE));
    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