Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetDataInMemory (0.26 sec)

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

            assertFalse(cos.isInMemory());
            File file = cos.getFile();
            assertTrue(file.exists());
            cos.close();
        }
    
        @Test
        public void testGetDataInMemory() throws IOException {
            // getData() should return the written data when in memory
            ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir);
            byte[] data = new byte[] { 0, 1, 2, 3, 4 };
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top