Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 252 for handled (0.05 sec)

  1. src/main/java/org/codelibs/core/io/Traverser.java

         * Searches for classes handled by this instance and calls the handler for each class.
         * <p>
         * If a root package is specified at instance construction, only classes under the root package are targeted.
         * </p>
         *
         * @param handler the handler to process classes
         */
        void forEach(ClassHandler handler);
    
        /**
         * Searches for resources handled by this instance and calls the handler for each resource.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Test edge cases
            generator.setCommandTimeout(0L);
            generator.setCommandTimeout(-1L);
            generator.setCommandTimeout(Long.MAX_VALUE);
    
            assertTrue("Timeout edge cases should be handled", true);
        }
    
        // Test ProcessDestroyer inner class
        public void test_processDestroyer_creation() throws Exception {
            // We can't directly test ProcessDestroyer without creating actual processes,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProvider.java

            //    }
            //}
            //try {
            //    return CDef.DefMeta.valueOf(searchName);
            //} catch (IllegalArgumentException ignored) { // not found
            //    return null; // handled later
            //}
        }
    
        @Override
        public OptionalThing<String> determineAlias(final Locale locale) {
            return OptionalObject.empty();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            try {
                aggregateLogJob.execute();
                fail("OutOfMemoryError should not be caught by Exception handler");
            } catch (OutOfMemoryError e) {
                // Expected - OutOfMemoryError is not caught by Exception handler
                assertEquals("Simulated OOM", e.getMessage());
            }
        }
    
        public void test_execute_multipleDifferentExceptions() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, longMessage);
    
            // Verify long message is handled correctly
            assertNotNull(exception);
            assertEquals(longMessage, exception.getMessage());
            assertEquals(messageCode, exception.getMessageCode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
        public void test_findOnMainSchema_alwaysReturnsNull() {
            // Since the implementation always returns null (no DBFlute classification used),
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                    }
                }
            };
    
            FwAssistantDirector assistantDirector = createMockAssistantDirector();
            customHook.hook(assistantDirector);
    
            // Verify that exception was handled
            assertTrue(exceptionHandled.get());
        }
    
        // Test with a custom ClassLoader to simulate class availability
        public void test_hook_withCustomClassLoader() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

         * Default constructor for ReqHeaderPager.
         * Initializes the pager with default values for page size and current page number.
         */
        public ReqHeaderPager() {
            // Default constructor - initialization handled by field defaults and clear() method
        }
    
        /**
         * Clears all pager data and resets to default values.
         * This method resets pagination state and clears all request header fields.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // Note: Full testing requires a running OpenSearch cluster
            assertTrue(true);
        }
    
        public void test_fieldSetConfiguration() {
            // Test that field set configuration is properly handled
            Set<String> fieldSet = new HashSet<>();
            fieldSet.add("cluster_name");
            fieldSet.add("status");
    
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top