- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for spy (0.01 sec)
-
src/test/java/jcifs/smb/SmbFileTest.java
import static org.mockito.Mockito.doNothing; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import org.junit.jupiter.api.BeforeEach;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
LICENSES/vendor/github.com/dustin/go-humanize/LICENSE
= vendor/github.com/dustin/go-humanize licensed under: = Copyright (c) 2005-2008 Dustin Sallings <dustin@spy.net> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri May 08 04:49:00 UTC 2020 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
import static org.mockito.ArgumentMatchers.anyLong; import static org.mockito.Mockito.atLeastOnce; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.List;
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/dcerpc/msrpc/samrTest.java
} @Test @DisplayName("Should decode output correctly") void testDecodeOut() throws NdrException { // Given: Enumerate aliases message with spy for sam samr.SamrSamArray samArray = spy(new samr.SamrSamArray()); // Pre-populate entries to avoid complex decode chain samArray.entries = new samr.SamrSamEntry[1];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception { CIFSContext ctx = mock(CIFSContext.class); SIDCacheImpl cache = Mockito.spy(new SIDCacheImpl(ctx)); // Prepare SIDs, two need resolution, one already resolved SID s1 = sid("S-1-5-21-10-11-12-1001"); SID s2 = sid("S-1-5-21-10-11-12-1002");
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/context/AbstractCIFSContextTest.java
context.run(); assertTrue(context.isCloseCalled()); // Verify close() was called } @Test void testRun_closeThrowsException() throws CIFSException { // Create a spy on the context to make close() throw an exception TestAbstractCIFSContext spyContext = new TestAbstractCIFSContext(mockCredentials) { @Override public boolean close() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ImmediateFuture.java
import java.util.logging.Level; import org.jspecify.annotations.Nullable; /** Implementation of {@link Futures#immediateFuture}. */ @GwtCompatible // TODO(cpovirk): Make this final (but that may break Mockito spy calls). class ImmediateFuture<V extends @Nullable Object> implements ListenableFuture<V> { static final ListenableFuture<?> NULL = new ImmediateFuture<@Nullable Object>(null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
} @Test @DisplayName("Should decode output correctly") void testDecodeOut() throws NdrException { // Given: Enumerate aliases message with spy for sam samr.SamrSamArray samArray = spy(new samr.SamrSamArray()); // Pre-populate entries to avoid complex decode chain samArray.entries = new samr.SamrSamEntry[1];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
* * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatible // TODO(cpovirk): Make this final (but that may break Mockito spy calls). class SameThreadScheduledExecutorService extends AbstractExecutorService implements ListeningScheduledExecutorService { private final ListeningExecutorService delegate = newDirectExecutorService();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
* * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatible // TODO(cpovirk): Make this final (but that may break Mockito spy calls). class SameThreadScheduledExecutorService extends AbstractExecutorService implements ListeningScheduledExecutorService { private final ListeningExecutorService delegate = newDirectExecutorService();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0)