Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testOpenConnection_WithCustomFactory (0.37 sec)

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

                Handler.setURLStreamHandlerFactory(mockFactory2); // Second call, should fail.
            }, "Setting the factory a second time should throw IllegalStateException.");
        }
    
        @Test
        void testOpenConnection_WithCustomFactory() throws Exception {
            // This test verifies that if a custom URLStreamHandlerFactory is set, it is used
            // to create the stream handler for the connection.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top