- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testTryWithResources (0.07 seconds)
-
src/test/java/jcifs/SmbPipeHandleTest.java
/** * Verifies that the handle is automatically closed in a try-with-resources statement. * @throws Exception if an error occurs. */ @Test public void testTryWithResources() throws Exception { // This test ensures that any implementation of SmbPipeHandle can be used in a try-with-resources block. try (SmbPipeHandle handle = smbPipeHandle) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/EmptyIteratorTest.java
} }, "Multiple EmptyIterator instances should behave consistently"); } @Test @DisplayName("EmptyIterator should support try-with-resources") void testTryWithResources() { // When & Then assertDoesNotThrow(() -> { try (EmptyIterator iterator = new EmptyIterator()) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
Shinsuke Sugaya <******@****.***> 1763955605 +0900
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0)