Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection (0.5 seconds)

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

            assertTrue(connection instanceof NtlmHttpURLConnection, "Connection should be an instance of NtlmHttpURLConnection.");
        }
    
        @Test
        void testOpenConnection_HttpsProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
            // This test ensures that for a standard HTTPS URL, openConnection also works and
            // wraps the connection, using mock handlers to avoid dependency on system handlers.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.1K bytes
    - Click Count (0)
Back to Top