- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 756 for Mock (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/changelogs/changelog_2x.md
new API, `Call.isCanceled()` to check if a call has been canceled. * New: Update `MultipartBuilder` to support content length. * New: Make it possible to mock `OkHttpClient` and `Call`. * New: Update to h2-14 and hpack-9. * New: OkHttp includes a user-agent by default, like `okhttp/2.1.0-RC1`. * Fix: Handle response code `308 Permanent Redirect`.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
private Smb2LogoffResponse newResponse() { Configuration cfg = Mockito.mock(Configuration.class); return new Smb2LogoffResponse(cfg); } @Test @DisplayName("Constructor accepts a Configuration and creates instance") void constructor_happyPath() { // Arrange Configuration cfg = Mockito.mock(Configuration.class); // Act
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.7K bytes - Click Count (0) -
tests/test_fastapi_cli.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Dec 02 04:02:38 GMT 2025 - 866 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
try { return new org.lastaflute.web.ruts.process.ActionRuntime("test", null, null) { @Override public void registerData(String key, Object value) { // Mock implementation } }; } catch (Exception e) { // If ActionRuntime constructor fails, return null and handle in test methods return null; } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
package jcifs.internal.smb2.lock; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import java.lang.reflect.Field; import java.util.Arrays;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
docs/pt/docs/advanced/testing-dependencies.md
Neste caso, você pode sobrepor (*override*) a dependência que chama o provedor, e utilizar uma dependência customizada que retorna um *mock* do usuário, apenas para os seus testes. ### Utilize o atributo `app.dependency_overrides` { #use-the-app-dependency-overrides-attribute }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:48:53 GMT 2026 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* value, you should always choose it explicitly. * * <p>The current implementation uses the concurrency level to create a fixed number of hashtable * segments, each governed by its own write lock. The segment lock is taken once for each explicit * write, and twice for each cache loading computation (once prior to loading the new value, and * once after loading completes). Much internal cache management is performed at the segment
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 52K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java
import org.junit.jupiter.api.TestInfo; import org.lastaflute.job.LaJob; import org.lastaflute.job.LaScheduledJob; import org.lastaflute.job.JobManager; import org.lastaflute.job.key.LaJobUnique; import org.lastaflute.job.mock.MockJobRuntime; public class ScriptExecutorJobTest extends UnitFessTestCase { @Override protected boolean isUseOneTimeContainer() { return true; } @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 13.7K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
import importlib from unittest.mock import patch import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body.{request.param}")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 11.1K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.32.md
- github.com/go-openapi/swag: [v0.22.4 → v0.23.0](https://github.com/go-openapi/swag/compare/v0.22.4...v0.23.0) - github.com/golang/mock: [v1.3.1 → v1.1.1](https://github.com/golang/mock/compare/v1.3.1...v1.1.1) - github.com/google/cadvisor: [v0.49.0 → v0.51.0](https://github.com/google/cadvisor/compare/v0.49.0...v0.51.0)
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Feb 26 23:58:21 GMT 2026 - 470.5K bytes - Click Count (0)