Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for writeTestFile (0.38 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        public void test_get_emptyFile() throws Exception {
            writeTestFile("");
    
            OptionalEntity<CharMappingItem> result = charMappingFile.get(1L);
            assertFalse(result.isPresent());
        }
    
        // Test get method with valid data
        public void test_get_validData() throws Exception {
            writeTestFile("a,b => c\nd,e => f\n");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    "word1\n" + "  \n" + // whitespace line (may be treated as content)
                    "# Another comment\n" + "word2\n";
    
            // Write content to test file
            writeTestFile(content);
    
            // Reload and verify
            protwordsFile.reload(null);
    
            PagingList<ProtwordsItem> result = protwordsFile.selectList(0, 10);
            // Whitespace-only lines may be treated as entries
    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