Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_reload_withIOException (0.56 sec)

  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());
        }
    
        public void test_reload_withIOException() {
            InputStream failingStream = new InputStream() {
                @Override
                public int read() throws IOException {
                    throw new IOException("Test exception");
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            for (ProtwordsItem listItem : list) {
                assertFalse("test1".equals(listItem.getInput()));
            }
        }
    
        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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top