- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 134 for mockwebserver (0.09 sec)
-
okhttp/src/test/java/okhttp3/CallKotlinTest.kt
import java.io.IOException import java.net.Proxy import java.security.cert.X509Certificate import java.time.Duration import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.DisconnectAtStart import mockwebserver3.SocketPolicy.ShutdownOutputAtEnd import okhttp3.Headers.Companion.headersOf import okhttp3.MediaType.Companion.toMediaType
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 8.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
import assertk.assertThat import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isEmpty import assertk.assertions.isNotEmpty import javax.net.ssl.SSLSocket import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.testing.Flaky import okhttp3.testing.PlatformRule import okhttp3.testing.PlatformVersion import okio.ByteString.Companion.toByteString
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
* limitations under the License. */ package okhttp3.compare import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.startsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import org.apache.hc.client5.http.classic.methods.HttpGet import org.apache.hc.client5.http.impl.classic.HttpClients import org.apache.hc.core5.http.io.entity.EntityUtils
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocketChannelTest.kt
import javax.net.ssl.SNIHostName import javax.net.ssl.SNIMatcher import javax.net.ssl.SNIServerName import javax.net.ssl.SSLSocket import javax.net.ssl.StandardConstants import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.Protocol.HTTP_1_1 import okhttp3.Protocol.HTTP_2 import okhttp3.Provider.CONSCRYPT import okhttp3.Provider.JSSE import okhttp3.TlsExtensionMode.DISABLED
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallHandshakeTest.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isIn import javax.net.ssl.SSLSocket import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.CipherSuite.Companion.TLS_AES_128_GCM_SHA256 import okhttp3.CipherSuite.Companion.TLS_AES_256_GCM_SHA384 import okhttp3.CipherSuite.Companion.TLS_CHACHA20_POLY1305_SHA256
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 11.2K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt
class MockResponseSniTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() @RegisterExtension val platform = PlatformRule() private lateinit var server: MockWebServer @BeforeEach fun setUp(server: MockWebServer) { this.server = server } @Test fun clientSendsServerNameAndServerReceivesIt() { // java.net.ConnectException: Connection refused platform.assumeNotConscrypt()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.9K bytes - Viewed (0) -
okhttp-hpacktests/build.gradle.kts
testImplementation(libs.squareup.moshi) testImplementation(libs.squareup.moshi.kotlin) testImplementation(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver) testImplementation(libs.junit)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 346 bytes - Viewed (0) -
samples/static-server/build.gradle.kts
} tasks.compileJava { options.isWarnings = false } tasks.jar { manifest { attributes("Main-Class" to "okhttp3.sample.SampleServer") } } dependencies { implementation(projects.mockwebserver) } tasks.shadowJar { mergeServiceFiles()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Feb 08 20:01:28 UTC 2022 - 316 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
import java.net.UnknownHostException import java.time.Duration import java.util.Arrays import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.FailHandshake import okhttp3.Headers.Companion.headersOf import okhttp3.internal.DoubleInetAddressDns import okhttp3.internal.connection.RealConnectionPool.Companion.get
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/ServerTruncatesRequestTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.fail import javax.net.ssl.SSLSocket import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketPolicy.DoNotReadRequestBody import okhttp3.Headers.Companion.headersOf import okhttp3.internal.duplex.AsyncRequestBody import okhttp3.internal.http2.ErrorCode
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.5K bytes - Viewed (0)