Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_destroy_withException (0.33 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.addShutdownHook(() -> hookExecuted.set(true));
            systemHelper.destroy();
            assertTrue(hookExecuted.get());
        }
    
        public void test_destroy_withException() {
            systemHelper.addShutdownHook(() -> {
                throw new RuntimeException("test exception");
            });
            try {
                systemHelper.destroy();
                assertTrue(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top