- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 103 for invokes (0.05 sec)
-
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
NdrShort decoded = new NdrShort(0); decoded.decode(buf); assertEquals(123, decoded.value, "decoded value should equal original"); } /** * Verify that encode invokes NdrBuffer.enc_ndr_short via a mocked * (spied) buffer. */ @Test void encodeWithSpiedBufferCallsEncMethod() throws NdrException { NdrShort ns = new NdrShort(42);
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/SmbTreeInternalTest.java
@Mock private Request<CommonServerMessageBlockResponse> request; @Mock private CommonServerMessageBlockResponse response; @Test @DisplayName("connectLogon invokes underlying implementation") void connectLogon_invocation_isForwarded() throws Exception { // Act tree.connectLogon(context); // Assert - verify interaction with dependency
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("finalize() invokes checkRelease exactly once") void finalize_invokes_checkRelease() throws Throwable { // Arrange: spy to verify internal interaction with checkRelease() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); // Act: directly invoke finalize to simulate GC finalization path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
assertNull(copy.getSubject(), "Clone should still return null after refresh"); } } @Test @DisplayName("renew: invokes getSubject and returns self") void testRenewInvokesGetSubjectAndReturnsSelf() { JAASAuthenticator auth = spy(new JAASAuthenticator()); // Avoid real JAAS by stubbing getSubject
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
assertEquals(jcifs.SID.SID_TYPE_UNKNOWN, s.getType()); } @Test @DisplayName("resolveSids(DcerpcHandle,...) with empty SID array still invokes sendrecv") void resolveSids_emptyArray_stillCallsSendrecv() throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class)); DcerpcHandle handle = mock(DcerpcHandle.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* {@code asList().contains(target)}. */ public boolean contains(long target) { return indexOf(target) >= 0; } /** * Invokes {@code consumer} for each value contained in this array, in order. * * @since 33.4.0 (but since 22.0 in the JRE flavor) */ @IgnoreJRERequirement // We rely on users not to call this without library desugaring.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* {@code asList().contains(target)}. */ public boolean contains(int target) { return indexOf(target) >= 0; } /** * Invokes {@code consumer} for each value contained in this array, in order. * * @since 22.0 (but only since 33.4.0 in the Android flavor) */ public void forEach(IntConsumer consumer) { checkNotNull(consumer);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 21.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Streams.java
} return false; } }, isParallel) .onClose(streamA::close) .onClose(streamB::close); } /** * Invokes {@code consumer} once for each pair of <i>corresponding</i> elements in {@code streamA} * and {@code streamB}. If one stream is longer than the other, the extra elements are silently
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 37K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
Arguments.of(-1, -2L, -3L, -4L, -5L) // negative values ); } // --- Mockito interaction: verify each getter is invoked and returns stubbed values --- @Test void mockitoMock_verifiesGetterInteractions() { // Arrange: mock and stub each getter with distinct values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
T instance = invoke(factory, args); if (instance == null) { throw new FactoryMethodReturnsNullException(factory); } return instance; } private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args) throws InvocationTargetException, IllegalAccessException { T returnValue = factory.invoke(null, args.toArray()); if (returnValue == null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0)