Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_getData (0.1 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformerTest.java

            xpathTransformer.storeData(responseData, resultData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
        }
    
        public void test_getData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\">タイトル</field>\n"//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java

            final ResultData resultData = xmlNsTransformer.transform(responseData);
            assertEquals(result, new String(resultData.getData(), Constants.UTF_8));
        }
    
        public void test_getData() throws Exception {
            final String value = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
                    + "<field name=\"title\">タイトル</field>\n"//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals("/index.html", htmlTransformer.normalizeUrl(url));
    
            url = "/../../../index.html";
            assertEquals("/../index.html", htmlTransformer.normalizeUrl(url));
        }
    
        public void test_getData() throws Exception {
            final String value = "<html><body>hoge</body></html>";
            final AccessResultDataImpl accessResultDataImpl = new AccessResultDataImpl();
            accessResultDataImpl.setData(value.getBytes());
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            }
        }
    
        // Test basic getters
        public void test_getType() {
            assertEquals("stopwords", stopwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), stopwordsFile.getPath());
        }
    
        public void test_getSimpleName() {
            assertEquals(testFile.getName(), stopwordsFile.getSimpleName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test getType method
        public void test_getType() {
            assertEquals("mapping", charMappingFile.getType());
        }
    
        // Test getPath method
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath());
        }
    
        // Test getSimpleName method
        public void test_getSimpleName() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                    "test\\\\4\n" + // escaped backslash
                    "test5\n";
        }
    
        public void test_getType() {
            assertEquals("protwords", protwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath());
        }
    
        public void test_getSimpleName() {
            String expected = testFile.getName();
    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