Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testParse_mixedValidAndInvalidDirectives (0.75 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertTrue(robotsTxt.allows("/also-before/", "TestBot"));
            // Valid directives should still work
            assertFalse(robotsTxt.allows("/test/", "TestBot"));
        }
    
        public void testParse_mixedValidAndInvalidDirectives() {
            String robotsTxtContent = "User-agent: TestBot\n" + "Disallow: /valid1/\n" + "InvalidDirective: value\n" + "Disallow: /valid2/\n"
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top