Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_flush_withEvents_drainsBuffer (0.1 seconds)

  1. src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java

            List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(0, remaining.size());
        }
    
        @Test
        public void test_flush_withEvents_drainsBuffer() {
            ComponentUtil.getLogNotificationHelper()
                    .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "flush msg", null));
    
            logNotificationTarget.flush();
    
    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)
Back to Top