Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for test_reload_withIOException (0.26 seconds)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            assertEquals("word\\\\2", stopwordsFile.stopwordsItemList.get(1).getInput());
            assertEquals("word3", stopwordsFile.stopwordsItemList.get(2).getInput());
        }
    
        @Test
        public void test_reload_withIOException() {
            InputStream failingStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Test exception");
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            for (ProtwordsItem listItem : list) {
                assertFalse("test1".equals(listItem.getInput()));
            }
        }
    
        @Test
        public void test_reload_withIOException() {
            // This test verifies error handling during reload
            // We'll test with invalid data or missing file
            try {
                File nonExistentFile = new File("non_existent_file.txt");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
Back to Top