Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testWriteBytesWireFormatWithEmptyToken (0.11 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Verify token length is 0
            assertEquals(0, SMBUtil.readInt2(buffer, bodyOffset + 14));
        }
    
        @Test
        @DisplayName("Should handle empty token correctly")
        void testWriteBytesWireFormatWithEmptyToken() throws Exception {
            // Given
            byte[] emptyToken = new byte[0];
            Smb2SessionSetupRequest req =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top