Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testSMB2FlagConsistency (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/DialectVersionTest.java

            assertThrows(NullPointerException.class, () -> {
                DialectVersion.valueOf(null);
            });
        }
    
        @Test
        @DisplayName("Should maintain SMB2 flag consistency")
        void testSMB2FlagConsistency() {
            // SMB1 should not be SMB2
            assertFalse(DialectVersion.SMB1.isSMB2());
    
            // All other versions should be SMB2
            for (DialectVersion version : DialectVersion.values()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top