- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 173 for capture (0.03 sec)
-
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
ArgumentCaptor<CommonServerMessageBlockRequest> reqCap = ArgumentCaptor.forClass(CommonServerMessageBlockRequest.class); verify(tree).send(reqCap.capture(), any(), any(), any()); assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used"); verify(tree, times(1)).close(); // try-with-resources must close
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
// Act boolean result = handle.hasCapability(cap); // Assert: verify return and the captured argument equals input assertTrue(result); ArgumentCaptor<Integer> captor = ArgumentCaptor.forClass(Integer.class); verify(handle, times(1)).hasCapability(captor.capture()); assertEquals(cap, captor.getValue()); } @Test @DisplayName("hasCapability(cap): propagates CIFSException on failure")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class); ArgumentCaptor<Integer> ntCaptor = ArgumentCaptor.forClass(Integer.class); verify(consumer, times(3)).accept(dosCaptor.capture(), ntCaptor.capture()); assertIterableEquals(Arrays.asList(0x00000000, 0x00050001, 0x007b0001), dosCaptor.getAllValues()); assertIterableEquals(Arrays.asList(0x00000000, 0xc0000022, 0xc0000033), ntCaptor.getAllValues());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
id: logs attributes: label: "Logs" description: "If possible please include gopls logs. Instructions for capturing them can be found here: https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#capture-logs" validations:
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-other.md
build/installation issues on GitHub. - type: markdown attributes: value: |
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Dec 29 22:28:29 UTC 2022 - 3.4K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE.md
<!--- reproduce this bug. Include code to reproduce, if relevant --> <!--- and make sure you have followed https://github.com/minio/minio/tree/release/docs/debugging to capture relevant logs --> 1. 2. 3. 4. ## Context <!--- How has this issue affected you? What are you trying to accomplish? -->
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Jan 29 00:04:16 UTC 2022 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
*/ public abstract class TypeParameter<T> extends TypeCapture<T> { final TypeVariable<?> typeVariable; protected TypeParameter() { Type type = capture(); checkArgument(type instanceof TypeVariable, "%s should be a type variable.", type); this.typeVariable = (TypeVariable<?>) type; } @Override public final int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class); verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture()); MsrpcSamrOpenAlias capturedRpc = rpcCaptor.getValue(); // We cannot directly access private fields of MsrpcSamrOpenAlias or its superclass
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K 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/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)