- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 440 for Utimes (0.04 sec)
-
src/archive/zip/testdata/time-osx.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Nov 06 19:50:28 UTC 2017 - 142 bytes - Viewed (0) -
src/test/java/jcifs/SmbFileHandleTest.java
verify(smbFileHandle, times(1)).getTree(); } /** * Test isValid() when the handle is valid. */ @Test void testIsValid_whenValid() { when(smbFileHandle.isValid()).thenReturn(true); assertTrue(smbFileHandle.isValid(), "isValid should return true when the handle is valid."); verify(smbFileHandle, times(1)).isValid(); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
verify(transport, times(1)).acquire(); } @Test @DisplayName("close/release manage usage and transport lifecycle") void testReleaseLifecycle() { SmbSessionImpl session = newSession(); // First release drops usage to zero and releases transport session.release(); verify(transport, times(1)).release(); assertFalse(session.isInUse());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/archive/zip/testdata/time-go.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Nov 06 19:50:28 UTC 2017 - 148 bytes - Viewed (0) -
src/archive/zip/testdata/time-win7.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Nov 06 19:50:28 UTC 2017 - 114 bytes - Viewed (0) -
src/archive/zip/testdata/time-winzip.zip
Joe Tsai <******@****.***> 1503947278 -0700
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Nov 06 19:50:28 UTC 2017 - 150 bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java
handle.close(); // Assert // sendrecv for open is called once verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrOpenDomain.class)); // sendrecv for close is called only once, even if close() is called multiple times verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Act handle.close(); // Assert // Verify sendrecv was called once for open and once for close verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarClose.class)); } @Test void close_shouldDoNothingIfAlreadyClosed() throws IOException { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
InOrder inOrder = inOrder(handle, fd, tree); inOrder.verify(handle, times(1)).ensureOpen(); inOrder.verify(fd, times(1)).getTree(); inOrder.verify(tree, times(1)).send(any(Smb2IoctlRequest.class), eq(RequestParam.NO_RETRY)); verify(fd, times(1)).close(); verify(tree, times(1)).close(); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
verify(file, times(1)).getAttributes(); } @Test public void testAcceptReturnsFalseWhenAttributesDoNotMatch() throws Exception { SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_HIDDEN); assertFalse(filter.accept(file), "Attributes not matching should be rejected"); verify(file, times(1)).getAttributes(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0)