- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for test_update_withInputStream (0.64 sec)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java
} catch (DictionaryException e) { assertTrue(e.getMessage().contains("Failed to parse")); } } // Test update with InputStream public void test_update_withInputStream() throws IOException { String content = "new1\n" + "new2\n" + "new3\n"; InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8)); stopwordsFile.update(is);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java
assertArrayEquals(new String[] { "a ", " b" }, item.getInputs()); assertEquals("c", item.getOutput()); } // Test update method with InputStream public void test_update_withInputStream() throws Exception { writeTestFile("a,b => c\n"); String newContent = "x,y => z\n"; InputStream inputStream = new ByteArrayInputStream(newContent.getBytes(StandardCharsets.UTF_8));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0)