Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadZeroValues (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(2048, response.getCount());
                assertEquals(1024, response.getRemaining());
            }
    
            @Test
            @DisplayName("Should handle zero count and remaining")
            void testReadZeroValues() throws SMBProtocolDecodingException {
                byte[] buffer = createValidWriteResponse(0, 0);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top