Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testWriteWithDifferentFileIdSizes (1.97 sec)

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

                assertThrows(NullPointerException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle file ID of different sizes")
            void testWriteWithDifferentFileIdSizes() {
                // Test with 16-byte file ID (standard)
                byte[] standardFileId = new byte[16];
                Arrays.fill(standardFileId, (byte) 0xAB);
                request.setFileId(standardFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertThrows(NullPointerException.class, () -> request.writeBytesWireFormat(buffer, 0));
            }
    
            @Test
            @DisplayName("Should handle file ID of different sizes")
            void testWriteWithDifferentFileIdSizes() {
                // Test with 16-byte file ID (standard)
                byte[] standardFileId = new byte[16];
                Arrays.fill(standardFileId, (byte) 0xAB);
                request.setFileId(standardFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top