- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for test_destroy (0.04 sec)
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
assertFalse(generator.isGenerateCalled()); assertTrue(generator.generate("id123", outputFile)); assertTrue(generator.isGenerateCalled()); } public void test_destroy() { // Test destroy method is called correctly generator = new TestThumbnailGenerator(); assertFalse(generator.isDestroyCalled()); generator.destroy();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
assertFalse(emptyGenerator.generate(null, outputFile)); assertFalse(emptyGenerator.generate("thumbnailId", null)); assertFalse(emptyGenerator.generate(null, null)); } public void test_destroy() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test that destroy method can be called without error emptyGenerator.destroy();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
} catch (Exception e) { fail("Unexpected exception: " + e.getMessage()); } } public void test_destroyProcess_withRunningProcess() { String sessionId = "test_destroy"; List<String> cmdList = Arrays.asList("echo", "hello"); Consumer<ProcessBuilder> pbCall = pb -> { pb.redirectErrorStream(true); }; try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
} public void test_isAvailable() { // Test availability check assertTrue(thumbnailGenerator.isAvailable()); } public void test_destroy() { // Test destroy method - should not throw exception thumbnailGenerator.destroy(); // After destroy, generator should not be available assertFalse(thumbnailGenerator.isAvailable());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
// Skip this test as it requires container components // The process method needs actual ThumbnailQueueBhv and other components assertTrue(true); } // Test destroy public void test_destroy() { thumbnailManager.destroy(); assertFalse(thumbnailManager.generating); } // Test purge with expired files public void test_purge_withExpiredFiles() throws IOException {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
} }; // Should not throw any exception webApiFilter.init(filterConfig); assertTrue(true); } // Test destroy method public void test_destroy() { // Should not throw any exception webApiFilter.destroy(); assertTrue(true); } // Test doFilter when WebApiManagerFactory returns null WebApiManager
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
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); } public void test_destroy() { final AtomicReference<Boolean> hookExecuted = new AtomicReference<>(false); systemHelper.addShutdownHook(() -> hookExecuted.set(true)); systemHelper.destroy();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.9K bytes - Viewed (0)