Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_directiveAllowsAllowedPath (0.33 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            directive.addDisallow("/admin/");
    
            String[] disallows = directive.getDisallows();
            assertEquals(1, disallows.length);
        }
    
        public void test_directiveAllowsAllowedPath() {
            // Test Directive allows with allowed path
            Directive directive = new Directive("MyBot");
            directive.addAllow("/public/");
    
            assertTrue(directive.allows("/public/page.html"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top