- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for testClosed (0.06 sec)
-
src/test/java/jcifs/SmbWatchHandleTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
// When outputStream.flush(); // Then - flush should complete without error assertTrue(outputStream.isOpen()); } @Test void testClose() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true); when(mockTreeHandle.getSendBufferSize()).thenReturn(65536);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
assertNull(iterator.next(), "Should return null when no elements"); } /** * Test close method delegates to underlying iterator. */ @Test void testClose() throws CIFSException { // Given when(mockDelegate.hasNext()).thenReturn(false); DirFileEntryAdapterIterator iterator = new DirFileEntryAdapterIterator(mockParent, mockDelegate, null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
assertDoesNotThrow(() -> handle.setDcerpcSecurityProvider(mockSecurityProvider)); } @Test @DisplayName("Should handle close operation") void testClose() throws IOException { // When: Closing handle handle.close(); // Then: Should complete without errors assertDoesNotThrow(() -> handle.close()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
} @Nested @DisplayName("Resource Management Tests") class ResourceManagementTests { @Test @DisplayName("close operation should work correctly") void testClose() { // When/Then assertDoesNotThrow(() -> mockResource.close(), "Close operation should not throw exception"); verify(mockResource).close(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0)