Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

                assertThrows(ArrayIndexOutOfBoundsException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle file ID longer than 16 bytes")
            void testLongFileId() {
                byte[] longFileId = new byte[32];
                new SecureRandom().nextBytes(longFileId);
                request.setFileId(longFileId);
                request.setData(new byte[10], 0, 10);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
Back to top