Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for getTestContext (0.07 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

        assertNotNull(cached);
        assertEquals(2, cached.size());
    }
    ```
    
    ### 8.2 Integration Tests
    ```java
    @Test
    public void testDirectoryListingCache() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useDirectoryLeasing", "true");
        
        SmbFile dir = new SmbFile("smb://server/share/testdir/", context);
        
        // First listing should hit the server
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

    }
    ```
    
    ### 7.2 Integration Tests
    ```java
    @Test
    @EnabledIfSystemProperty(named = "rdma.test.enabled", matches = "true")
    public void testRdmaLargeFileTransfer() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useRDMA", "true");
        
        SmbFile file = new SmbFile("smb://server/share/largefile.dat", context);
        
        // Measure RDMA transfer performance
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. docs/smb3-features/02-persistent-handles-design.md

            assertArrayEquals(fileId, recovered.fileId);
        }
    }
    ```
    
    ### 8.2 Integration Tests
    ```java
    @Test
    public void testDurableHandleReconnection() throws Exception {
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useDurableHandles", "true");
        
        SmbFile file = new SmbFile("smb://server/share/test.txt", context);
        file.createNewFile();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  4. docs/smb3-features/06-witness-protocol-design.md

    ```java
    @Test
    @EnabledIfSystemProperty(named = "witness.test.enabled", matches = "true")
    public void testWitnessFailover() throws Exception {
        // Requires cluster environment for testing
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useWitness", "true");
        
        SmbFile file = new SmbFile("smb://cluster-server/share/test.txt", context);
        file.createNewFile();
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  5. docs/smb3-features/01-smb3-lease-design.md

        }
    }
    ```
    
    ### 8.2 Integration Tests
    ```java
    @Test
    public void testLeaseWithRealServer() throws Exception {
        // Requires SMB3 capable server
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useLeases", "true");
        
        try (SmbFile file = new SmbFile("smb://server/share/test.txt", context)) {
            // Open file with lease
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  6. docs/smb3-features/03-multi-channel-design.md

    }
    ```
    
    ### 7.2 Integration Tests
    ```java
    @Test
    public void testMultiChannelThroughput() throws Exception {
        // Requires multi-NIC test environment
        CIFSContext context = getTestContext();
        context.getConfig().setProperty("jcifs.smb.client.useMultiChannel", "true");
        context.getConfig().setProperty("jcifs.smb.client.maxChannels", "4");
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
Back to top