Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_getOutput_emptyStream (0.24 seconds)

  1. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            String[] lines = output.split("\n");
    
            assertTrue("Buffer should respect max size", lines.length <= InputStreamThread.MAX_BUFFER_SIZE + 1);
        }
    
        @Test
        public void test_getOutput_emptyStream() throws InterruptedException {
            InputStream is = new ByteArrayInputStream("".getBytes(StandardCharsets.UTF_8));
    
            InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
Back to Top