- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for drainAll (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java
assertEquals(0, events.size()); } @Test public void test_append_nonExcludedLogger() { final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.helper.SystemHelper", "not excluded"); appender.append(event); final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(1, events.size());
Created: 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/timer/LogNotificationTargetTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); ComponentUtil.register(new LogNotificationHelper(), "logNotificationHelper"); ComponentUtil.getLogNotificationHelper().drainAll(); ComponentUtil.getFessConfig().setLogNotificationEnabled(true); logNotificationTarget = new LogNotificationTarget(); } @Test public void test_constructor() {
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/helper/LogNotificationHelperTest.java
List<LogNotificationEvent> events = helper.drainAll(); assertEquals(2, events.size()); assertEquals("message1", events.get(0).getMessage()); assertEquals("message2", events.get(1).getMessage()); } @Test public void test_drainAll_empty() { LogNotificationHelper helper = new LogNotificationHelper(); List<LogNotificationEvent> events = helper.drainAll(); assertNotNull(events);
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/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
try { helper = ComponentUtil.getLogNotificationHelper(); } catch (final Exception e) { return; } final List<LogNotificationEvent> events = helper.drainAll(); if (events.isEmpty()) { return; } try { final SearchEngineClient client = ComponentUtil.getSearchEngineClient();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0)