Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testLeaseKeyGeneration (0.07 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class LeaseTest {
        
        @Test
        public void testLeaseKeyGeneration() {
            Smb2LeaseKey key1 = new Smb2LeaseKey();
            Smb2LeaseKey key2 = new Smb2LeaseKey();
            
            assertNotNull(key1.getKey());
            assertEquals(16, key1.getKey().length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
Back to top