- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 254 for Jest (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/Authenticator.kt
fun interface Authenticator { /** * Returns a request that includes a credential to satisfy an authentication challenge in * [response]. Returns null if the challenge cannot be satisfied. * * The route is best effort, it currently may not always be provided even when logically * available. It may also not be provided when an authenticator is re-used manually in an
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
#Others / http://www.example.com/test s:http h:www.example.com p:/ /test.txt s:http h:www.example.com p:/test.txt . s:http h:www.example.com p:/ .. s:http h:www.example.com p:/ test.txt s:http h:www.example.com p:/test.txt ./test.txt s:http h:www.example.com p:/test.txt ../test.txt s:http h:www.example.com p:/test.txt ../aaa/test.txt s:http h:www.example.com p:/aaa/test.txt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt
import java.util.Random import kotlin.test.assertFailsWith import okhttp3.internal.format import okio.Buffer import okio.ByteString import okio.ByteString.Companion.EMPTY import okio.ByteString.Companion.decodeHex import okio.ByteString.Companion.encodeUtf8 import okio.ByteString.Companion.toByteString import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class WebSocketReaderTest {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 14.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
} @Test @Disabled fun headers() { var headers: Headers = Headers.of("", "") headers = Headers.of(mapOf("" to "")) val size: Int = headers.size() } @Test @Disabled fun httpLoggingInterceptor() { val interceptor = HttpLoggingInterceptor() val level = interceptor.getLevel() } @Test @Disabled fun httpUrl() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertClosed(1000, "") serverListener.assertClosed(1000, "") } @Test fun wsScheme() { assumeNotWindows() websocketScheme("ws") } @Test fun wsUppercaseScheme() { websocketScheme("WS") } @Test fun wssScheme() { webServer.useHttps(handshakeCertificates.sslSocketFactory()) client = client.newBuilder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 35.2K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/RequestTest.kt
import java.net.URI import java.util.UUID import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.MediaType.Companion.toMediaType import okhttp3.RequestBody.Companion.asRequestBody import okhttp3.RequestBody.Companion.toRequestBody import okio.Buffer import okio.ByteString.Companion.encodeUtf8 import org.junit.jupiter.api.Test class RequestTest { @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 16.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
client.listener.assertClosed(1000, "Goodbye!") } @Test fun clientCloseThenMethodsReturnFalse() { client.webSocket!!.close(1000, "Hello!") assertThat(client.webSocket!!.close(1000, "Hello!")).isFalse() assertThat(client.webSocket!!.send("Hello!")).isFalse() } @Test fun clientCloseWith0Fails() { assertFailsWith<IllegalArgumentException> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 11 01:59:58 GMT 2024 - 18.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt
import java.security.cert.Certificate import javax.net.ssl.SSLPeerUnverifiedException import kotlin.test.assertFailsWith import okhttp3.internal.tls.CertificateChainCleaner.Companion.get import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import org.junit.jupiter.api.Test class CertificateChainCleanerTest { @Test fun equalsFromCertificate() { val rootA = HeldCertificate.Builder()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
assertThat(recordedRequest.method).isEqualTo("POST") assertThat(recordedRequest.body.readUtf8()).isEqualTo("abc") } @Test fun applicationInterceptorsRewriteRequestToServer() { rewriteRequestToServer(false) } @Test fun networkInterceptorsRewriteRequestToServer() { rewriteRequestToServer(true) } private fun rewriteRequestToServer(network: Boolean) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Jan 14 10:20:09 GMT 2024 - 27.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt
), ) } @Test fun readSingleByteInt() { assertThat(newReader(byteStream()).readInt(10, 31)).isEqualTo(10) assertThat(newReader(byteStream()).readInt(0xe0 or 10, 31)).isEqualTo(10) } @Test fun readMultibyteInt() { assertThat(newReader(byteStream(154, 10)).readInt(31, 31)).isEqualTo(1337) } @Test fun writeSingleByteInt() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 38.2K bytes - Viewed (0)