Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEncryptionCapabilitySmb3 (1.16 sec)

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

            // Then
            assertEquals(0, request.getCapabilities() & Smb2Constants.SMB2_GLOBAL_CAP_DFS);
        }
    
        @Test
        @DisplayName("Should set encryption capability for SMB3+")
        void testEncryptionCapabilitySmb3() {
            // Given
            when(mockConfig.isEncryptionEnabled()).thenReturn(true);
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB300);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
Back to top