Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getSitemapsEmpty (0.08 sec)

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

            robotsTxt.addSitemap("https://example.com/sitemap.xml");
    
            String[] sitemaps = robotsTxt.getSitemaps();
            assertEquals(1, sitemaps.length);
        }
    
        public void test_getSitemapsEmpty() {
            // Test getSitemaps when no sitemaps are added
            RobotsTxt robotsTxt = new RobotsTxt();
    
            String[] sitemaps = robotsTxt.getSitemaps();
            assertNotNull(sitemaps);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top