Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testGetContentAsStreamWithContentException (0.67 seconds)

  1. src/test/java/org/codelibs/curl/CurlResponseTest.java

                assertTrue(e instanceof CurlException);
                assertTrue(e.getMessage().contains("The content does not exist"));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithContentException() {
            CurlResponse response = new CurlResponse();
            IOException exception = new IOException("Test IO exception");
            response.setContentException(exception);
    
            try {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
Back to Top