Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 103 for handled (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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            assertEquals("test_session_123", options.sessionId);
        }
    
        public void test_process_withPropertiesPath() throws Exception {
            // Test that properties path is properly handled
            // Create temporary properties file
            File propFile = File.createTempFile("test", ".properties");
            propFile.deleteOnExit();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                ProtwordsFile errorFile = new ProtwordsFile("test_id", nonExistentFile.getAbsolutePath(), new Date());
                errorFile.reload(null);
                // If no exception, the file might have been handled gracefully
                assertTrue(true);
            } catch (Exception e) {
                // Expected for missing file
                assertTrue(true);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            // Central timezone should match default
            assertEquals(defaultTz, FessUserTimeZoneProcessProvider.centralTimeZone);
        }
    
        // Test with decimal values in string (should be handled by config)
        public void test_decimalStringValues() {
            FessConfig decimalConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top