Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testUrlCreationWithHandler (2.56 sec)

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

            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.openConnection(null));
        }
    
        @Test
        @DisplayName("URL created with handler parses SMB URL correctly")
        void testUrlCreationWithHandler() throws Exception {
            // Act - Create various SMB URLs using the handler
            URL url1 = new URL(null, "smb://host/share", handler);
            URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler);
    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