Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testNoDfsCapability (0.07 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertTrue((request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_DFS) != 0);
        }
    
        @Test
        @DisplayName("Should not set DFS capability when disabled")
        void testNoDfsCapability() {
            // Given
            when(mockConfig.isDfsDisabled()).thenReturn(true);
    
            // When
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // Then
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top