Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_run_withIOException (0.17 sec)

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

            thread.start();
            thread.join(1000);
    
            String output = thread.getOutput();
            assertTrue(output.contains("UTF-16 test"));
        }
    
        public void test_run_withIOException() throws InterruptedException {
            InputStream faultyStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Test exception");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top