Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testStreamReadPartial (0.08 seconds)

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

                    assertEquals("Byte at position " + i, i & 0xFF, byteValue);
                }
                assertEquals(-1, stream.read()); // End of stream
            }
        }
    
        @Test
        public void testStreamReadPartial() throws IOException {
            String testContent = "Hello, World!";
            byte[] data = testContent.getBytes("UTF-8");
            ContentCache cache = new ContentCache(data);
    
    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