- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,484 for timeN (0.02 sec)
-
src/test/java/jcifs/util/transport/RequestTest.java
verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once } @Test void testSetRequestCredits() { // Test case for setRequestCredits method int credits = 5; mockRequest.setRequestCredits(credits); // Verify that setRequestCredits was called with the correct argument verify(mockRequest, times(1)).setRequestCredits(credits); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K 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/internal/RequestTest.java
verify(request, times(1)).isResponseAsync(); verify(request, times(1)).getNext(); verify(request, times(1)).split(); verify(request, times(1)).allowChain(nextRequest); verify(request, times(1)).createCancel(); verify(request, times(1)).size(); verify(request, times(1)).getOverrideTimeout(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} /** * This test attempts to cause a future to wait for longer than it was requested to from a timed * get() call. As measurements of time are prone to flakiness, it tries to assert based on ranges * derived from observing how much time actually passed for various operations. */ @SuppressWarnings("ThreadPriorityCheck") @AndroidIncompatible // Thread.suspend
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
// Assert verify(signingDigest).sign(largeData, offset, 10, request, response); } // Verify method was called correct number of times verify(signingDigest, times(offsets.length)).sign(any(byte[].class), anyInt(), anyInt(), any(CommonServerMessageBlock.class), any(CommonServerMessageBlock.class)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/archive/tar/strconv_test.go
{"-", time.Time{}, false}, {"+", time.Time{}, false}, {"-1.-1", time.Time{}, false}, {"99999999999999999999999999999999999999999999999", time.Time{}, false}, {"0.123456789abcdef", time.Time{}, false}, {"foo", time.Time{}, false}, {"\x00", time.Time{}, false}, {"đĩđ´đŗđ˛đą.đ°đ¯đŽđđŦ", time.Time{}, false}, // Unicode numbers (U+1D7EC to U+1D7F5) {"98765īš43210", time.Time{}, false}, // Unicode period (U+FE52) }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 15K bytes - Viewed (0) -
cmd/metacache_test.go
fileNotFound: false, error: "an error lol", started: metaCacheTestsetTimestamp.Add(-20 * time.Minute), ended: metaCacheTestsetTimestamp.Add(-20 * time.Minute), lastUpdate: metaCacheTestsetTimestamp.Add(-20 * time.Minute), lastHandout: metaCacheTestsetTimestamp.Add(-20 * time.Minute), dataVersion: metacacheStreamVersion, }, 4: { id: "case-5-noupdate", bucket: "bucket",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
mockReferralData.setKey(key); String retrievedKey = mockReferralData.getKey(); assertEquals(key, retrievedKey); verify(mockReferralData, times(1)).setKey(key); verify(mockReferralData, times(1)).getKey(); // Test with concrete implementation concreteImplementation.setKey(key); assertEquals(key, concreteImplementation.getKey()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
assertTrue(ex.getMessage().contains("directory must end with '/'")); verify(tree, times(1)).acquire(); verify(tree, times(1)).release(); // closed after failure } @Test @DisplayName("open(): invalid UNC without trailing backslash throws SmbException") void invalidUncThrows() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/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_shouldThrowSmbExceptionOnRpcError() throws IOException { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0)