Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        @DisplayName("WriteBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should write request structure correctly with single lock")
            void testWriteBytesWireFormatSingleLock() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(1024L, 2048L, Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK) };
                when(mockLock.encode(any(byte[].class), anyInt())).thenReturn(24);
    
    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