- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for SHOULD (0.05 seconds)
-
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientRebuildTest.java
assertTrue(result); // Should have created 4 indices (config x2, user x1, log x1) assertEquals(4, testClient.createdIndices.size()); // Should have called addMapping for each created index assertEquals(4, testClient.addMappingCalls.size()); // Should have called createAlias for each created indexCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 28.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
.offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "should remain", null)); // expired() should skip when disabled logNotificationTarget.expired(); // Buffer should still contain the event since disabled check should return early List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
final String message = e.getMessage(); assertTrue("Error message should contain var path: " + message, message.contains(varDir.toFile().getCanonicalPath())); assertTrue("Error message should contain webapp path: " + message, message.contains(webappDir.toFile().getCanonicalPath())); assertTrue("Error message should contain conf path: " + message, message.contains(confDir.toFile().getCanonicalPath())); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/LogNotificationHelperTest.java
helper.init(); // destroy() cancels the task and flushes; should not throw helper.destroy(); } @Test public void test_destroy_beforeInit() { LogNotificationHelper helper = new LogNotificationHelper(); // destroy() without init() should not throw NPE because of null checks helper.destroy(); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
} @Test public void test_append_excludedLogger_notificationHelper() { final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.NotificationHelper", "should be excluded"); appender.append(event); final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(0, events.size()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
assertFalse(extraFieldNames.contains("_id"), "Reserved field _id should be excluded"); assertFalse(extraFieldNames.contains("_version"), "Reserved field _version should be excluded"); assertFalse(extraFieldNames.contains("_seq_no"), "Reserved field _seq_no should be excluded"); assertFalse(extraFieldNames.contains("_primary_term"), "Reserved field _primary_term should be excluded"); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/LogNotificationJobTest.java
assertTrue(details.contains("Total: 60 event(s) (showing 50)")); assertTrue(details.contains("... and 10 more")); // msg49 should be present (50th event, index 49), msg50 should not assertTrue(details.contains("msg49")); assertFalse(details.contains("msg50")); } private static class TestableLogNotificationJob extends LogNotificationJob {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 10.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} /** * Checks if the given URL should skip URL decoding when extracting file names. * Some protocols (like SMB, FTP, S3, GCS) should preserve the original URL encoding. * * @param url the URL to check * @return true if URL decoding should be skipped for this protocol */ public boolean shouldSkipUrlDecode(final String url) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
refresh(); // Verify all old sessions are deleted (size should be 0 after deletion) final List<Map<String, Object>> logListAfter = readCrawlingInfo(webConfigId); logger.info("logListAfter: {}", logListAfter); assertEquals(0, logListAfter.size(), "All crawling info logs should be deleted after calling delete all endpoint"); // Log the result
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 25 08:51:12 GMT 2026 - 1.8K bytes - Click Count (0)