- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 653 for mocks (0.03 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.timeout; import static org.mockito.Mockito.verify; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Ordering.java
@Override public String toString() { return "Ordering.arbitrary()"; } /* * We need to be able to mock identityHashCode() calls for tests, because it * can take 1-10 seconds to find colliding objects. Mocking frameworks that * can do magic to mock static method calls still can't do so for a system * class, so we need the indirection. In production, Hotspot should stillCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
} } }; systemHelper.init(); ComponentUtil.register(systemHelper, "systemHelper"); // Initialize DictionaryManager mock org.codelibs.fess.dict.DictionaryManager dictionaryManager = new org.codelibs.fess.dict.DictionaryManager() { @OverrideCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java
String path = "\\\\server"; int maxReferralLevel = 3; buffer = new DfsReferralRequestBuffer(path, maxReferralLevel); // Configure mock to do nothing when called mockedSMBUtil.when(() -> SMBUtil.writeInt2(anyLong(), any(byte[].class), anyInt())).thenAnswer(invocation -> null); byte[] dst = new byte[buffer.size()];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
assertTrue(tag.toString().contains("css=new-class")); assertTrue(tag.toString().contains("attrName=role")); assertTrue(tag.toString().contains("attrValue=link")); } // Mock implementation of Node for testing without external dependencies private static class MockNode implements Node { private final String nodeName; private final Map<String, MockNode> attributes = new HashMap<>();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
docs/uk/docs/index.md
* Досконаліші (але однаково прості) техніки для оголошення **глибоко вкладених моделей JSON** (завдяки Pydantic). * Інтеграцію **GraphQL** з [Strawberry](https://strawberry.rocks) та іншими бібліотеками. * Багато додаткових можливостей (завдяки Starlette) як-от: * **WebSockets** * надзвичайно прості тести на основі HTTPX та `pytest` * **CORS** * **Cookie Sessions**Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 29.1K bytes - Click Count (0) -
cmd/notification.go
} serverLocksResp, err := sys.peerClients[index].GetLocks(ctx) if err != nil { return err } locksResp[index] = &PeerLocks{ Addr: sys.peerClients[index].host.String(), Locks: serverLocksResp, } return nil }, index) } for index, err := range g.Wait() { reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", sys.peerClients[index].host.String())
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 46K bytes - Click Count (0) -
guava/src/com/google/common/collect/Ordering.java
@Override public String toString() { return "Ordering.arbitrary()"; } /* * We need to be able to mock identityHashCode() calls for tests, because it * can take 1-10 seconds to find colliding objects. Mocking frameworks that * can do magic to mock static method calls still can't do so for a system * class, so we need the indirection. In production, Hotspot should stillCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 39.4K bytes - Click Count (0) -
okhttp/src/jvmMain/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.list
lifeinsurance lifestyle lig.it lighting liguria.it like likes-pie.com likescandy.com lillehammer.no lillesand.no lilly lima-city.at lima-city.ch lima-city.de lima-city.rocks lima.zone limanowa.pl limited limo lincoln lindas.no lindesnes.no lindås.no link linkyard-cloud.ch linkyard.cloud lipsy littlestar.jp live live-on.net
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 129.6K bytes - Click Count (3) -
docs/ru/docs/index.md
* Более продвинутые (но столь же простые) приёмы объявления **глубоко вложенных JSON-моделей** (спасибо Pydantic). * Интеграцию **GraphQL** с [Strawberry](https://strawberry.rocks) и другими библиотеками. * Множество дополнительных функций (благодаря Starlette), таких как: * **WebSockets** * чрезвычайно простые тесты на основе HTTPX и `pytest` * **CORS**Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 30.4K bytes - Click Count (0)