- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Jest (0.13 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
* connections are requested concurrently OkHttp will pessimistically connect multiple times, then * close any unnecessary connections. This test confirms that behavior works as intended. * * This test uses proxy tunnels to get a hook while a connection is being established. */ @ParameterizedTest @ArgumentsSource(ProtocolParamProvider::class)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 22:09:35 GMT 2024 - 75.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
import assertk.assertions.isSameAs import assertk.assertions.isTrue import assertk.fail import java.io.File import java.io.FileNotFoundException import java.io.IOException import java.util.ArrayDeque import kotlin.test.assertFailsWith import okhttp3.SimpleProvider import okhttp3.TestUtil import okhttp3.internal.cache.DiskLruCache.Editor import okhttp3.internal.cache.DiskLruCache.Snapshot import okhttp3.internal.concurrent.TaskFaker
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement /** * Factory for [calls][Call], which can be used to send HTTP requests and read their responses. * * ## OkHttpClients Should Be Shared * * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of * your HTTP calls. This is because each client holds its own connection pool and thread pools.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.Timeout @Timeout(5) @Tag("Slow") class Http2ConnectionTest { private val peer = MockHttp2Peer() private val taskFaker = TaskFaker() @AfterEach fun tearDown() { peer.close() taskFaker.close() } @Test fun serverPingsClientHttp2() { // Write the mocking script.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 75.4K bytes - Viewed (0)