Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testParse_disable (0.09 sec)

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

            assertEquals(2, sitemaps.length);
            assertEquals("http://www.example.com/sitmap.xml", sitemaps[0]);
            assertEquals("http://www.example.net/sitmap.xml", sitemaps[1]);
    
        }
    
        public void testParse_disable() {
            final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt");
            robotsTxtHelper.setEnabled(false);
            try {
                assertNull(robotsTxtHelper.parse(in));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top