Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                int hash = testMessage.hashCode();
                assertEquals((int) largeMid, hash);
            }
    
            @Test
            @DisplayName("Should handle negative status codes")
            void testNegativeStatusCode() throws SMBProtocolDecodingException {
                byte[] buffer = new byte[256];
                System.arraycopy(SMBUtil.SMB2_HEADER, 0, buffer, 0, 4);
                SMBUtil.writeInt4(-1, buffer, 8); // negative status
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top