Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testCloseMultipleTimes (0.09 seconds)

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

            cos.close();
    
            // ## Assert ##
            // The temp file should have been cleaned up by close()
            assertFalse(cos.isInMemory());
        }
    
        @Test
        public void testCloseMultipleTimes() throws IOException {
            // ## Arrange ##
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 }); // exceeds threshold
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top