Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMemoryBasedCacheMultipleReads (0.33 sec)

  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
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top