Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_normalizeUrl (0.1 sec)

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

            assertEquals(RequestDataBuilder.newRequestData().url("http://hoge").build(),
                    htmlTransformer.getDuplicateUrl(RequestDataBuilder.newRequestData().url(url).build()));
    
        }
    
        public void test_normalizeUrl() {
            String url;
    
            url = "http://hoge/index 123.html";
            assertEquals("http://hoge/index%20123.html", htmlTransformer.normalizeUrl(url));
    
            url = "http://hoge/index.html";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top