- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 739 for Mock (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
docs/smb3-features/06-witness-protocol-design.md
assertEquals("TestResource", notification.getResourceName()); assertEquals(1, notification.getNewIPAddresses().size()); } @Test public void testWitnessClientMock() throws Exception { // Mock witness service for testing MockWitnessService mockService = new MockWitnessService(); mockService.start(); try { WitnessClient client = new WitnessClient(mockService.getAddress(), context);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 42K bytes - Click Count (0) -
docs/de/docs/advanced/testing-dependencies.md
Sie möchten den externen Anbieter wahrscheinlich einmal testen, ihn aber nicht unbedingt bei jedem weiteren ausgeführten Test aufrufen. In diesem Fall können Sie die Abhängigkeit, die diesen Anbieter aufruft, überschreiben und eine benutzerdefinierte Abhängigkeit verwenden, die einen Mock-Benutzer zurückgibt, nur für Ihre Tests.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 3.2K 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) -
tests/test_dump_json_fast_path.py
from unittest.mock import patch from fastapi import FastAPI from fastapi.responses import JSONResponse from fastapi.testclient import TestClient from pydantic import BaseModel class Item(BaseModel): name: str price: float app = FastAPI() @app.get("/default") def get_default() -> Item: return Item(name="widget", price=9.99) @app.get("/explicit", response_class=JSONResponse)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 22 16:07:19 GMT 2026 - 1.4K 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) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
* cancelled without a call to {@code cancel}, such as by calling {@code * setFuture(cancelledFuture)}. * * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or * acquire other locks, risking deadlocks. */ @CanIgnoreReturnValue @Override public boolean cancel(boolean mayInterruptIfRunning) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 14:39:00 GMT 2026 - 43.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) -
CHANGELOG/CHANGELOG-1.31.md
- github.com/coreos/etcd: [v3.3.13+incompatible → v3.3.10+incompatible](https://github.com/coreos/etcd/compare/v3.3.13...v3.3.10) - github.com/golang/mock: [v1.3.1 → v1.1.1](https://github.com/golang/mock/compare/v1.3.1...v1.1.1) - github.com/magiconair/properties: [v1.8.1 → v1.8.0](https://github.com/magiconair/properties/compare/v1.8.1...v1.8.0)
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Wed Nov 12 11:33:21 GMT 2025 - 451.9K 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)