Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLocksWithZeroValues (0.09 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(48, bytesWritten);
                assertEquals(1, SMBUtil.readInt2(buffer, 2));
            }
    
            @Test
            @DisplayName("Should handle locks with zero values")
            void testLocksWithZeroValues() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(0L, 0L, 0) };
    
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
                byte[] buffer = new byte[256];
    
    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