Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_ConnectException_ViaExceptionListener (0.21 seconds)

  1. src/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            } catch (CurlException e) {
                assertTrue(e.getMessage().contains("Failed to"));
                assertNotNull(e.getCause());
            }
        }
    
        @Test
        public void test_ConnectException_ViaExceptionListener() throws Exception {
            // ## Arrange ##
            CurlRequest req = new OpenOverrideCurlRequest(Curl.Method.GET, "http://dummy", u -> {
                throw new IOException("Simulated connection failure");
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
Back to Top