- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 547 for mocks (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/FlushablesTest.java
// 'swallowException' when the mock does not throw an exception. setupFlushable(false); doFlush(mockFlushable, false, false); setupFlushable(false); doFlush(mockFlushable, true, false); } public void testFlush_flushableWithEatenException() throws IOException { // make sure that no exception is thrown if 'swallowException' is true // when the mock does throw an exception on flush.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jul 16 20:34:52 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Test class for SmbWatchHandle interface */ @ExtendWith(MockitoExtension.class) class SmbWatchHandleTest { @Mock private SmbWatchHandle watchHandle; @Mock private FileNotifyInformation fileNotifyInfo1; @Mock private FileNotifyInformation fileNotifyInfo2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (1) -
apache-maven/src/assembly/maven/lib/ext/hazelcast/README.txt
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Aug 23 19:41:57 GMT 2022 - 300 bytes - Click Count (0) -
.teamcity/pom.xml
<!-- For tests only. Must be in compile scope such that the Teamcity generate goal is able to compile the tests --> <dependency> <groupId>io.mockk</groupId> <artifactId>mockk-jvm</artifactId> <version>${mockk.version}</version> </dependency> <dependency> <groupId>net.bytebuddy</groupId> <artifactId>byte-buddy</artifactId>Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 27 22:03:46 GMT 2026 - 7.4K bytes - Click Count (2) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
* scenarios that don't require complex filter setups. */ @ExtendWith(MockitoExtension.class) class DirFileEntryAdapterIteratorTest { @Mock private SmbResource mockParent; @Mock private CloseableIterator<FileEntry> mockDelegate; @Mock private ResourceFilter mockFilter; @Mock private FileEntry mockFileEntry1; @Mock
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
// Mock Pac construction to bypass complex validation try (MockedConstruction<Pac> pacMock = Mockito.mockConstruction(Pac.class, (mock, context) -> { // Setup mock behavior PacLogonInfo mockLogonInfo = Mockito.mock(PacLogonInfo.class); PacSignature mockServerSig = Mockito.mock(PacSignature.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
@ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleImplTest { @Mock SmbResourceLocatorImpl resourceLoc; @Mock SmbTreeConnection treeConnection; @Mock SmbSessionImpl session; @Mock SmbTransportImpl transport; @Mock Configuration config; private SmbTreeHandleImpl handle; @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
} @AndroidIncompatible // Mocking ExecutorService is forbidden there. TODO(b/218700094): Don't mock. public void testGetExitingExecutorService_executorDelegatesToOriginal() { TestApplication application = new TestApplication(); ThreadPoolExecutor executor = mock(ThreadPoolExecutor.class); ThreadFactory threadFactory = mock(ThreadFactory.class); when(executor.getThreadFactory()).thenReturn(threadFactory);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
* Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}. * @throws CIFSException if an error occurs during setup. */ @BeforeEach public void setUp() throws CIFSException { mockPipeResource = mock(SmbPipeResource.class); mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class); mockInputStream = mock(InputStream.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0)