- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for destroyed (0.08 sec)
-
src/test/java/jcifs/util/SecureCredentialStorageTest.java
// The important part is that the storage is marked as destroyed } assertTrue(storage.isDestroyed(), "Storage should be marked as destroyed"); // Operations should fail after destroy assertThrows(IllegalStateException.class, () -> { storage.encryptCredentials(plaintext); }, "Should throw IllegalStateException after destroy");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
} /** * Check if storage has been destroyed */ private void checkNotDestroyed() { if (destroyed) { throw new IllegalStateException("SecureCredentialStorage has been destroyed"); } } @Override public void destroy() throws DestroyFailedException { if (!destroyed) { boolean failedToDestroy = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
}, "ThumbnailGenerator"); thumbnailQueueThread.start(); } /** * Cleans up resources when the thumbnail manager is destroyed. * Stops background processing and waits for threads to complete. */ @PreDestroy public void destroy() { generating = false; thumbnailQueueThread.interrupt(); try { thumbnailQueueThread.join(10000);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
// Initialize without container emptyGenerator = new EmptyGenerator(); // Test that destroy method can be called without error emptyGenerator.destroy(); // Call destroy multiple times to ensure it's safe emptyGenerator.destroy(); emptyGenerator.destroy(); } public void test_isAvailable() { // Initialize without container
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/thumbnail/ThumbnailManagerTest.java
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/thumbnail/impl/BaseThumbnailGeneratorTest.java
assertTrue(generator.isGenerateCalled()); } public void test_destroy() { // Test destroy method is called correctly generator = new TestThumbnailGenerator(); assertFalse(generator.isDestroyCalled()); generator.destroy(); assertTrue(generator.isDestroyCalled()); } public void test_expandPath() { // Test expandPath method
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/ThumbnailGeneratorTest.java
// 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()); } public void test_createTask_withValidParams() {
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/main/java/jcifs/util/SecureKeyManager.java
if (rawKey != null) { Arrays.fill(rawKey, (byte) 0); } // Destroy the SecretKey if possible if (secretKey instanceof Destroyable) { try { ((Destroyable) secretKey).destroy(); } catch (DestroyFailedException e) { log.warn("Failed to destroy SecretKey: {}", e.getMessage()); } } // Remove from KeyStore
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
assertDoesNotThrow(() -> filter.init(filterConfig)); } @Test void testDestroy() { // Test that destroy method executes without errors assertDoesNotThrow(() -> filter.destroy()); } @Test void testDoFilter_noAuthorizationHeader_shouldChallengeClient() throws Exception { // Initialize filter first initializeFilter();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
} // Test destroy when crawling is not finished public void test_destroy_notFinished() { final List<Crawler> crawlerList = new ArrayList<>(); final TestCrawler crawler = new TestCrawler(); crawlerList.add(crawler); indexUpdater.setCrawlerList(crawlerList); indexUpdater.finishCrawling = false; indexUpdater.destroy();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0)