Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for kven (0.09 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            assertFalse(result.getContent().isEmpty());
        }
    
        /**
         * Test that ZipExtractor handles mixed valid and invalid entries gracefully.
         * Should continue processing valid entries even when some fail.
         */
        public void test_ZipExtractor_mixedEntries_continuesProcessing() throws IOException {
            // Create a ZIP with one valid text file
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

        public void test_processWithNullResponseData() {
            // Test process method with null ResponseData
            NullResponseProcessor processor = new NullResponseProcessor();
    
            // Execute - should not throw any exception even with null
            processor.process(null);
        }
    
        public void test_processWithEmptyResponseData() {
            // Test process method with empty ResponseData
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

                } catch (final Exception e) {
                    logger.warn("Error occurred in onDestroy listener for component: {}", componentName, e);
                    // Continue with destruction even if listener fails
                }
            }
    
            // Close the object if it implements AutoCloseable or Closeable
            final T obj = p.getObject();
            if (obj instanceof AutoCloseable) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // destroyObject should continue and close the resource even if listener throws
            factoryWithListener.destroyObject(pooledObject);
    
            // Resource should still be closed despite listener exception
            assertTrue("Component should be closed even if listener throws", component.isClosed());
        }
    
        /**
         * Test destroyObject with AutoCloseable component
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         * time they are accessed. The value "never" should be used to describe
         * archived URLs.
         *
         * Please note that the value of this tag is considered a hint and not a
         * command. Even though search engine crawlers may consider this information
         * when making decisions, they may crawl pages marked "hourly" less
         * frequently than that, and they may crawl pages marked "yearly" more
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

                fail("Should not throw exception in test setup");
            }
    
            // Execute and verify
            try {
                processor.process(responseData);
                fail("Should throw ChildUrlsException even with empty set");
            } catch (ChildUrlsException e) {
                Set<RequestData> childUrls = e.getChildUrlList();
                assertNotNull(childUrls);
                assertEquals(0, childUrls.size());
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

                assertEquals("Braces should be balanced", openBraces, closeBraces);
            }
        }
    
        /**
         * Test that InputStream is properly closed even when exception occurs.
         * Verifies try-with-resources cleanup behavior.
         */
        @Test
        public void testResourceLoading_exceptionHandling() {
            try {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class to verify proper resource management in Extractor implementations.
     * This test ensures that resources are properly closed even when exceptions occur.
     */
    public class ExtractorResourceManagementTest extends PlainTestCase {
        private static final Logger logger = LogManager.getLogger(ExtractorResourceManagementTest.class);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final SitemapSet sitemapSet = sitemapsHelper.parse(in);
            final Sitemap[] sitemaps = sitemapSet.getSitemaps();
    
            // Should parse successfully even without namespace
            assertEquals(2, sitemaps.length);
            assertEquals("http://www.example.com/page1.html", sitemaps[0].getLoc());
            assertEquals("http://www.example.com/page2.html", sitemaps[1].getLoc());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

                urlQueue.setUrl("http://www.example.com/page" + i);
                urlQueueList.add(urlQueue);
            }
    
            urlQueueService.offerAll(sessionId, urlQueueList);
    
            // Poll items - should work fine even with max size constraint
            int count = 0;
            while (true) {
                final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
                if (polled == null) {
                    break;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top