Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_match_exclude_case1 (0.21 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            assertTrue(urlFilter.match("http://example.com/a"));
            assertTrue(urlFilter.match("http://test.com/"));
            assertTrue(urlFilter.match("http://test.com/a"));
        }
    
        public void test_match_exclude_case1() {
            urlFilter.addExclude("http://example.com/.*");
    
            final String sessionId = "id1";
            urlFilter.init(sessionId);
    
            assertFalse(urlFilter.match("http://example.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top