Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 311 for handle (0.04 sec)

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Mock Postbox - no need to mock, the framework will handle it
    
            // Register components
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
            ComponentUtil.register(systemHelper, "systemHelper");
            ComponentUtil.setFessConfig(fessConfig);
            ComponentUtil.register(notificationHelper, "notificationHelper");
            // Postbox is handled by the framework
    
            // Execute
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                fail("setObject should handle parameter validation gracefully: " + e.getMessage());
            }
    
            // getObject should handle various inputs
            try {
                WebApiUtil.getObject("validKey");
                WebApiUtil.getObject("");
                WebApiUtil.getObject(null);
            } catch (Exception e) {
                fail("getObject should handle parameter validation gracefully: " + e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

                        // Handle nested properties
                        if (key.contains(".")) {
                            // Simple nested property handling for testing
                            result = result.replace("${" + key + "}", String.valueOf(value));
                        } else if (value instanceof TestUser) {
                            // Handle TestUser object
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        }
        check(rule.indexOf(WILDCARD_CHAR, 1) == -1) {
          """Wildcard Assertion Failure: '$rule'
    A wildcard rule was added with multiple wildcards! We'll need to change ${PublicSuffixDatabase::class.java.name} to handle this."""
        }
        check(rule.length != 1) {
          """Wildcard Assertion Failure: '$rule'
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                        // Expected to catch exception silently
                    }
                }
            };
    
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
    
            // Should handle ClassNotFoundException gracefully
            customHook.hook(assistantDirector);
    
            // Verify no exception is thrown to the caller
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/Converter.java

         */
        Object getAsObject(String value);
    
        /**
         * Returns {@literal true} if this converter can handle the specified type.
         *
         * @param clazz
         *            the type. Must not be {@literal null}
         * @return {@literal true} if this converter can handle the specified type
         */
        boolean isTarget(Class<?> clazz);
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
                return;
            }
    
            // Should handle case sensitivity properly
            assertNotNull(functionBuilders);
            assertEquals(0, functionBuilders.size()); // No data loaded
        }
    
        public void test_load_emptyState() {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailGenerator.java

         */
        boolean generate(String thumbnailId, File outputFile);
    
        /**
         * Checks if this generator can handle the given document.
         * @param docMap The document map containing metadata.
         * @return True if this generator can handle the document, false otherwise.
         */
        boolean isTarget(Map<String, Object> docMap);
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/JobExecutor.java

     */
    package org.codelibs.fess.job;
    
    /**
     * Abstract base class for job executors that handle script execution within the job system.
     * This class provides a framework for executing scripts and managing shutdown operations.
     */
    public abstract class JobExecutor {
        /** Listener to handle shutdown events */
        protected ShutdownListener shutdownListener;
    
        /**
         * Default constructor.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            try {
                dataIndexHelper.crawl("test-session-force-stop");
                assertTrue("Should exit quickly when force stopped", true);
            } catch (Exception e) {
                assertTrue("Force stop should handle exceptions quickly", true);
            }
        }
    
        public void test_crawl_with_short_intervals() {
            try {
                // Test with minimal interval
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top