Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_doCrawl_withException (0.52 sec)

  1. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.fileConfigIds = "file1";
            options.dataConfigIds = "data1";
    
            int result = crawler.doCrawl(options);
            assertEquals(Constants.EXIT_OK, result);
        }
    
        public void test_doCrawl_withException() {
            // Create a crawler that throws exception
            Crawler errorCrawler = new Crawler() {
                @Override
                protected void writeTimeToSessionInfo(CrawlingInfoHelper helper, String key) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top