- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 574 for mocks (0.04 sec)
-
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
*/ @ExtendWith(MockitoExtension.class) @DisplayName("DcerpcHandle Test Suite") class DcerpcHandleTest { @Mock private CIFSContext mockContext; @Mock private DcerpcBinding mockBinding; @Mock private BufferCache mockBufferCache; @Mock private DcerpcSecurityProvider mockSecurityProvider; // Concrete implementation of DcerpcHandle for testingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
} } @Test public void testRdmaTransportCreationWithMockDelegate() throws Exception { // Create a mock SmbTransportInternal for RdmaTransport SmbTransportInternal mockTransport = mock(SmbTransportInternal.class); when(mockTransport.isDisconnected()).thenReturn(true); when(mockTransport.toString()).thenReturn("MockTransport");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Mock private CIFSContext mockContext; @Mock private SmbWatchHandle mockWatchHandle; @Mock private SmbRandomAccess mockRandomAccess; @Mock private InputStream mockInputStream; @Mock private OutputStream mockOutputStream; @Mock private CloseableIterator<SmbResource> mockIterator; @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
crawlingInfoHelper.documentExpires = currentTime + 5000; // For this test, we'll focus on the documentExpires fallback logic // since creating full CrawlingConfig mocks would require implementing many abstract methods Date result = crawlingInfoHelper.documentExpires != null ? new Date(crawlingInfoHelper.documentExpires) : null; assertNotNull(result);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
// Do nothing in test } } private static class TestClickLogBhv extends ClickLogBhv { // Mock implementation } private static class TestFavoriteLogBhv extends FavoriteLogBhv { // Mock implementation } private static class TestIngestFactory extends IngestFactory { private boolean throwException = false;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
// Helper: build a minimally wired instance with mocks; avoids real I/O private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException { SmbFile file = mock(SmbFile.class); SmbTreeHandleImpl tree = mock(SmbTreeHandleImpl.class); Configuration cfg = mock(Configuration.class); SmbFileHandleImpl fh = mock(SmbFileHandleImpl.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@DisplayName("SAMR Protocol Test Suite") class samrTest { @Mock private NdrBuffer mockNdrBuffer; @Mock private NdrBuffer mockDeferredBuffer; @Mock private rpc.policy_handle mockPolicyHandle; @Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEachRegistered: 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/smb1/dcerpc/msrpc/samrTest.java
@DisplayName("SMB1 SAMR Protocol Test Suite") class samrTest { @Mock private NdrBuffer mockNdrBuffer; @Mock private NdrBuffer mockDeferredBuffer; @Mock private rpc.policy_handle mockPolicyHandle; @Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.20.md
- github.com/Azure/go-autorest/autorest/mocks: [v0.3.0 → v0.4.1](https://github.com/Azure/go-autorest/compare/autorest/mocks/v0.3.0...autorest/mocks/v0.4.1) - github.com/Azure/go-autorest/autorest: [v0.9.6 → v0.11.1](https://github.com/Azure/go-autorest/compare/autorest/v0.9.6...autorest/v0.11.1)
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Jan 19 21:05:45 UTC 2022 - 409K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
interface will make your code easier to test. When you test code that makes HTTP requests, you can use this interface to replace the real `OkHttpClient` with your own mocks or fakes. The interface will also let you use OkHttp's API with another HTTP client's implementation. This is useful in sandboxed environments like Google App Engine.Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0)