Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testSmbSpecificUrlFormats (0.07 sec)

  1. src/test/java/jcifs/smb1/smb1/HandlerTest.java

            assertEquals("/share", url3.getPath());
            assertEquals("user:pass", url3.getUserInfo());
        }
    
        @Test
        @DisplayName("URL handles SMB-specific URL formats")
        void testSmbSpecificUrlFormats() throws Exception {
            // Test empty SMB URL
            URL emptyUrl = new URL(null, "smb://", handler);
            assertEquals("smb", emptyUrl.getProtocol());
            assertEquals("", emptyUrl.getHost());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top