- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for captor (0.2 sec)
-
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
// Close should have sent FindClose2 exactly once ArgumentCaptor<SmbComFindClose2> captor = ArgumentCaptor.forClass(SmbComFindClose2.class); verify(tree, times(1)).send(captor.capture(), any()); assertNotNull(captor.getValue()); // Tree handle is released after close verify(tree, atLeastOnce()).release(); } @Test
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/smb/SmbPipeHandleImplTest.java
assertEquals(42, read); // Verify we issued an SMB2 IOCTL ArgumentCaptor<Smb2IoctlRequest> captor = ArgumentCaptor.forClass(Smb2IoctlRequest.class); verify(tree).send(captor.capture(), any()); assertNotNull(captor.getValue()); } @Test @DisplayName("recv delegates to input.readDirect and returns its value")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// Verify resolveSids0 called exactly once with the two SIDs needing resolution ArgumentCaptor<SID[]> captor = ArgumentCaptor.forClass(SID[].class); verify(cache, times(1)).resolveSids0(isNull(), same(ctx), captor.capture()); SID[] resolvedFirst = captor.getValue(); assertEquals(2, resolvedFirst.length); assertEquals("user1", ((SID) resolvedFirst[0]).acctName);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Assert: resolver.resolveSids called with this SID ArgumentCaptor<jcifs.SID[]> captor = ArgumentCaptor.forClass(jcifs.SID[].class); verify(mockResolver, times(1)).resolveSids(same(mockCtx), eq("server.example"), captor.capture()); assertSame(sid, captor.getValue()[0]); } @Test
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/internal/SMBSigningDigestTest.java
verify(signingDigest).sign(dataCaptor.capture(), offsetCaptor.capture(), lengthCaptor.capture(), eq(request), eq(response)); assertArrayEquals(testData, dataCaptor.getValue()); assertEquals(offset, offsetCaptor.getValue()); assertEquals(length, lengthCaptor.getValue()); } @Test @DisplayName("Test verify method invocation with argument capture") void testVerifyMethodArgumentCapture() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* {@code ArrayList<?>::set}. * * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type. */ static TypeResolver invariantly(Type contextType) { Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
ArgumentCaptor<Integer> rnCap = ArgumentCaptor.forClass(Integer.class); verify(transport).getDfsReferrals(eq(ctx), nameCap.capture(), hostCap.capture(), domCap.capture(), rnCap.capture()); assertEquals(name, nameCap.getValue()); assertEquals(host, hostCap.getValue()); assertEquals(domain, domCap.getValue()); assertEquals(rn, rnCap.getValue());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* {@code ArrayList<?>::set}. * * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type. */ static TypeResolver invariantly(Type contextType) { Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
cmd/data-scanner.go
} } // Sleep sleeps the specified time multiplied by the sleep factor. // If the factor is updated the sleep will be done again with the new factor. func (d *dynamicSleeper) Sleep(ctx context.Context, base time.Duration) { for { // Grab current values d.mu.RLock() minWait, maxWait := d.minSleep, d.maxSleep factor := d.factor cycle := d.cycle d.mu.RUnlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.6K bytes - Viewed (0)