- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 582 for Calls (0.2 sec)
-
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
void testCapacityEdgeValues(long capacity) { when(mockAllocInfo.getCapacity()).thenReturn(capacity); assertEquals(capacity, mockAllocInfo.getCapacity()); } /** * Null pointer scenario – calls on a null reference should raise * {@link NullPointerException}. This test is defensive; in real code it * would likely be handled elsewhere. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.SSLSession import javax.net.ssl.SSLSessionContext import javax.security.cert.X509Certificate /** An [SSLSession] that delegates all calls. */ abstract class DelegatingSSLSession( protected val delegate: SSLSession?, ) : SSLSession { override fun getId(): ByteArray = delegate!!.id
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSocketFactory.kt
package okhttp3 import java.io.IOException import java.net.InetAddress import java.net.Socket import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory /** * A [SSLSocketFactory] that delegates calls. Sockets can be configured after creation by * overriding [.configureSocket]. */ open class DelegatingSSLSocketFactory( private val delegate: SSLSocketFactory, ) : SSLSocketFactory() { @Throws(IOException::class)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* listeners are added before any of the managed services are {@linkplain Service#startAsync * started}. * * <p>{@code addListener} guarantees execution ordering across calls to a given listener but not * across calls to multiple listeners. Specifically, a given listener will have its callbacks * invoked in the same order as the underlying service enters those states. Additionally, at most
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
void testInitialState() { assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); assertTrue(circuitBreaker.allowsRequests()); } @Test @DisplayName("Test successful calls in CLOSED state") void testSuccessfulCalls() throws Exception { String result = circuitBreaker.call(() -> "success"); assertEquals("success", result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
{* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip Notice that the testing functions are normal `def`, not `async def`. And the calls to the client are also normal calls, not using `await`. This allows you to use `pytest` directly without complications. /// /// note | Technical Details You could also use `from starlette.testclient import TestClient`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ClusterException.java
import org.jspecify.annotations.NullMarked; /** * An {@link ClusterException} is a data structure that allows for some code to "throw multiple * exceptions", or something close to it. The prototypical code that calls for this class is * presented below: * * <pre> * void runManyThings({@literal List<ThingToRun>} thingsToRun) { * for (ThingToRun thingToRun : thingsToRun) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
throw new UnsupportedOperationException(); } /** * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable} * element.</b> Proper calls will resolve to the version in {@code ImmutableSortedSet}, not this * dummy version. * * @throws UnsupportedOperationException always * @deprecated <b>Pass a parameter of type {@code Comparable} to use {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 36.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiInputStreamTest.java
int total = 0; while (in.read() != -1) { total++; } assertEquals(0, in.available()); assertEquals(20, total); } @SuppressWarnings("CheckReturnValue") // these calls to skip always return 0 public void testSkip() throws Exception { MultiInputStream multi = new MultiInputStream( Collections.singleton( new ByteSource() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 4.6K bytes - Viewed (0)