- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 47 for OkHttpClientTestRule (0.12 sec)
-
okhttp/src/test/java/okhttp3/CookiesTest.kt
import org.junit.jupiter.api.Timeout import org.junit.jupiter.api.extension.RegisterExtension /** Derived from Android's CookiesTest. */ @Timeout(30) class CookiesTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() private lateinit var server: MockWebServer private var client = clientTestRule.newClient() @BeforeEach fun setUp(server: MockWebServer) { this.server = server } @Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
class CallHandshakeTest { private lateinit var client: OkHttpClient private lateinit var server: MockWebServer @RegisterExtension @JvmField val clientTestRule = OkHttpClientTestRule() @RegisterExtension @JvmField var platform = PlatformRule() private val handshakeCertificates = platform.localhostHandshakeCertificates()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallKotlinTest.kt
import org.junitpioneer.jupiter.RetryingTest @Timeout(30) class CallKotlinTest { @JvmField @RegisterExtension val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule().apply { recordFrames = true recordSslDebug = true } private var client = clientTestRule.newClient() private val handshakeCertificates = platform.localhostHandshakeCertificates()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 8.4K bytes - Viewed (0) -
android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt
import okhttp3.DelegatingSSLSocket import okhttp3.DelegatingSSLSocketFactory import okhttp3.EventListener import okhttp3.Headers import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule import okhttp3.Protocol import okhttp3.RecordingEventListener import okhttp3.Request import okhttp3.TlsVersion import okhttp3.dnsoverhttps.DnsOverHttps import okhttp3.internal.concurrent.TaskRunner
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 27K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
@Flaky // STDOUT logging enabled for test @Timeout(30) @Tag("Slow") open class ConnectionListenerTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var server: MockWebServer? = null private val listener = RecordingConnectionListener() private val handshakeCertificates = localhost() open val fastFallback: Boolean get() = true
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.DisconnectAtEnd import okhttp3.CertificatePinner import okhttp3.CertificatePinner.Companion.pin import okhttp3.OkHttpClientTestRule import okhttp3.RecordingHostnameVerifier import okhttp3.Request import okhttp3.internal.platform.Platform.Companion.get import okhttp3.testing.PlatformRule import okhttp3.tls.HandshakeCertificates
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/FastFallbackTest.kt
* * This test only runs on host machines that have both IPv4 and IPv6 addresses for localhost. */ @Timeout(30) class FastFallbackTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP. private lateinit var localhostIpv4: InetAddress private lateinit var localhostIpv6: InetAddress
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
import org.junit.jupiter.api.extension.RegisterExtension @Timeout(30) @Tag("Slowish") class DuplexTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension var clientTestRule = OkHttpClientTestRule() private lateinit var server: MockWebServer private var listener = RecordingEventListener() private val handshakeCertificates = platform.localhostHandshakeCertificates() private var client =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class OkHttpClientTest { @RegisterExtension var platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var server: MockWebServer? = null @BeforeEach fun setUp(server: MockWebServer?) { this.server = server } @AfterEach fun tearDown() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DispatcherTest.kt
import org.junit.jupiter.api.Tag import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension @Tag("Slowish") class DispatcherTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val executor = RecordingExecutor(this) val callback = RecordingCallback() val webSocketListener = object : WebSocketListener() { } val dispatcher = Dispatcher(executor)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Apr 05 03:30:42 UTC 2024 - 12.7K bytes - Viewed (0)