Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testTransform (0.08 sec)

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

                xmlEntityTransformer.setFieldRuleMap(fieldRuleMap);
                xmlEntityTransformer.init();
            }
        }
    
        public void test_transform() throws Exception {
            final String result = "<?xml version=\"1.0\"?>\n"//
                    + "<doc>\n"//
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            htmlTransformer.setChildUrlRuleMap(childUrlRuleMap);
        }
    
        public void test_name() {
            assertEquals("htmlTransformer", htmlTransformer.getName());
        }
    
        public void test_transform() {
            final byte[] data = new String("xyz").getBytes();
            final ResponseData responseData = new ResponseData();
            responseData.setUrl("http://hoge/");
            responseData.setResponseBody(data);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

    import org.xml.sax.InputSource;
    
    public class FessXpathTransformerTest extends UnitFessTestCase {
        private static final Logger logger = LogManager.getLogger(FessXpathTransformerTest.class);
    
        public void test_transform() throws Exception {
            String data = "<html><head><title>Test</title></head><body><h1>Header1</h1><p>This is a pen.</p></body></html>";
    
            final FessXpathTransformer fessXpathTransformer = new FessXpathTransformer();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
Back to top