- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 570 for hatch (0.11 seconds)
-
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Test throwing and catching the exception String expectedMessage = "Test throw and catch"; try { throw new SearchQueryException(expectedMessage); } catch (SearchQueryException e) { assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught SearchQueryException"); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
installArtifact(artifact); saveInfo(messages -> messages.addSuccessInstallPlugin(GLOBAL, artifact.getFileName())); } } catch (final ValidationErrorException e) { throw e; } catch (final Exception e) { throwValidationError(messages -> messages.addErrorsFailedToInstallPlugin(GLOBAL, form.id), this::asListHtml); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
// Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) { fail("initializeProbes should not throw exception: " + e.getMessage()); } } @Test public void test_main_withHelp() { // Test main method with help option
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
@Test public void test_multipleCatches() { // Test with multiple catch blocks boolean caughtSpecific = false; boolean caughtRuntime = false; try { throw new DictionaryExpiredException(); } catch (DictionaryExpiredException e) { caughtSpecific = true; } catch (RuntimeException e) { caughtRuntime = true; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
// Verify escaped pattern matches assertTrue("Escaped pattern should match: " + mimeType, Pattern.compile(escapedPattern).matcher(mimeType).matches()); // Verify unescaped pattern does NOT match assertFalse("Unescaped pattern should NOT match: " + mimeType, Pattern.compile(mimeType).matcher(mimeType).matches()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java
public void test_update_callsLoad() throws InterruptedException { CountDownLatch latch = new CountDownLatch(1); configHelper.setLoadCallback(() -> { latch.countDown(); return 1; }); configHelper.update(); assertTrue("Load method should be called within 5 seconds", latch.await(5, TimeUnit.SECONDS)); assertEquals(1, configHelper.getLoadCallCount()); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 4.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
logger.info("Backup file uploaded successfully and queued for import: fileName={}, tempFile={}", fileName, tempFile.getAbsolutePath()); } } catch (final IOException e) { logger.warn("Failed to upload backup file: fileName={}, error={}", fileName, e.getMessage(), e); if (tempFile.exists() && !tempFile.delete()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 02:07:40 GMT 2025 - 32.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
TestScriptEngine engine = new TestScriptEngine(); try { scriptEngineFactory.add(null, engine); fail("Should throw IllegalArgumentException for null name"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("Both name and scriptEngine parameters are required")); assertTrue(e.getMessage().contains("name: null")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (0)