- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 118 for handled (0.26 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java
assertNotNull(result); // Content might be empty or contain minimal text depending on processing assertNotNull(result.getContent()); } /** * Test that empty ZIP archive is handled gracefully. */ public void test_ZipExtractor_emptyArchive_handlesGracefully() throws IOException { final ByteArrayOutputStream baos = new ByteArrayOutputStream();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("file:// URLs should not be delayed", elapsed < 50); } /** * Test that null URL queue is handled gracefully */ public void test_nullUrlQueue() { final HostIntervalController controller = new HostIntervalController(); controller.delayMillisBeforeProcessing = 1000L;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt
# Test file for malformed robots.txt parsing # This file contains various malformed directives that should be handled gracefully # Case 1: Directives before any User-agent (should be ignored) Disallow: /orphaned1/ Allow: /orphaned2/ # Case 2: Valid user-agent with various malformed directives User-agent: GoodBot Disallow: /admin/ InvalidDirective: some-value unknown-field: test Disallow /missing-colon
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 2.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java
final long elapsed = (System.nanoTime() - start) / 1000000; assertTrue("Expected at least 200ms delay", elapsed >= 180); } /** * Test that negative delay values are handled (treated as zero) */ public void test_negativeDelayValues() { final DefaultIntervalController controller = new DefaultIntervalController(); controller.setDelayMillisAfterProcessing(-100L);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* handled specially by removing the brackets before resolution. * * @param host the host name to resolve * @return an array of IP addresses for the host * @throws UnknownHostException if the host name cannot be resolved */ @Override public InetAddress[] resolve(final String host) throws UnknownHostException { // Handle IPv6 addresses in bracket notationRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 06 07:24:43 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
URL url = new URL("gcs://mybucket/path/file%20with%20spaces.txt"); Handler handler = new Handler(); URLConnection conn = handler.openConnection(url); Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn; assertEquals("mybucket", getField(gcsConn, "bucketName")); // URL decoding is handled by URL class
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
return groovyShell.evaluate(template); } catch (final JobProcessingException e) { // Rethrow JobProcessingException to allow scripts to signal job-specific errors // that should be handled by the job framework if (logger.isDebugEnabled()) { logger.debug("Script raised JobProcessingException", e); } throw e; } catch (final Exception e) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
public class RelatedContentHelper extends AbstractConfigHelper { /** * Default constructor for RelatedContentHelper. * The constructor does not perform any initialization logic as the actual * initialization is handled by the {@link #init()} method annotated with * {@code @PostConstruct}. */ public RelatedContentHelper() { super(); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} } /** * Test that try-with-resources handles null InputStream correctly. * Verifies that null InputStream doesn't cause NullPointerException during close. */ @Test public void testTryWithResources_nullInputStreamSafety() { // This test demonstrates that try-with-resources handles null safely try (InputStream is = null) { if (is == null) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
URL url = new URL("storage://mybucket/path/file%20with%20spaces.txt"); Handler handler = new Handler(); URLConnection conn = handler.openConnection(url); Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn; assertEquals("mybucket", getField(storageConn, "bucketName")); // URL decoding is handled by URL class
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.4K bytes - Viewed (0)