Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testMemoryBasedCacheMultipleReads (0.13 seconds)

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

                String result = new String(buffer, 0, bytesRead, "UTF-8");
                assertEquals(testContent, result);
            }
        }
    
        @Test
        public void testMemoryBasedCacheMultipleReads() throws IOException {
            String testContent = "Hello, World!";
            byte[] data = testContent.getBytes("UTF-8");
            ContentCache cache = new ContentCache(data);
    
            // First read
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 15.9K bytes
    - Click Count (0)
Back to Top