Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for test_destroy (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java

                }
            };
    
            // Should not throw any exception
            webApiFilter.init(filterConfig);
            assertTrue(true);
        }
    
        // Test destroy method
        @Test
        public void test_destroy() {
            // Should not throw any exception
            webApiFilter.destroy();
            assertTrue(true);
        }
    
        // Test doFilter when WebApiManagerFactory returns null WebApiManager
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
            }
        }
    
        @Test
        public void test_destroyProcess_withRunningProcess() {
            String sessionId = "test_destroy";
            // Use sleep command that runs longer so we can verify it's running
            List<String> cmdList = Arrays.asList("sleep", "10");
            Consumer<ProcessBuilder> pbCall = pb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            final long currentTime = systemHelper.getCurrentTimeAsLong();
            final long now = System.currentTimeMillis();
            assertTrue(Math.abs(currentTime - now) < 1000);
        }
    
        @Test
        public void test_destroy() {
            final AtomicReference<Boolean> hookExecuted = new AtomicReference<>(false);
            systemHelper.addShutdownHook(() -> hookExecuted.set(true));
            systemHelper.destroy();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top