Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testNullPath (1.02 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Then
            assertEquals(0, SMBUtil.readInt2(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 6)); // Path length should be 0
        }
    
        @Test
        @DisplayName("Should handle null path")
        void testNullPath() {
            // When creating with null path
            Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null);
    
            // Then - should not throw during construction
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top