- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for isSameAs (0.07 sec)
-
okhttp/src/test/java/okhttp3/RequestTest.kt
.build() assertThat(request.tag()).isSameAs(objectTag) assertThat(request.tag(Any::class.java)).isSameAs(objectTag) assertThat(request.tag(UUID::class.java)).isSameAs(uuidTag) assertThat(request.tag(String::class.java)).isSameAs(stringTag) assertThat(request.tag(Long::class.javaObjectType)).isSameAs(longTag) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestCommonTest.kt
.tag(tag as Any) .build() assertThat(request.tag<Any>()).isSameAs(tag) assertThat(request.tag(Any::class)).isSameAs(tag) assertThat(request.tag(String::class)).isNull() // Alternate access APIs also work. assertThat(request.tag<Any>()).isSameAs(tag) assertThat(request.tag(Any::class)).isSameAs(tag) } @Test fun nullRemovesTag() { val request =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
// Multiple clients share the instances. val b = client.newBuilder().build() assertThat(b.dispatcher).isSameAs(a.dispatcher) assertThat(b.connectionPool).isSameAs(a.connectionPool) assertThat(b.sslSocketFactory).isSameAs(a.sslSocketFactory) assertThat(b.x509TrustManager).isSameAs(a.x509TrustManager) } @Test fun setProtocolsRejectsHttp10() { val builder = OkHttpClient.Builder()
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/internal/connection/RouteSelectorTest.kt
assertRoute(routes[0], address, Proxy.NO_PROXY, dns.lookup(uriHost, 0), uriPort) assertRoute(routes[1], address, Proxy.NO_PROXY, dns.lookup(uriHost, 1), uriPort) assertThat(selection.next()).isSameAs(routes[0]) assertThat(selection.next()).isSameAs(routes[1]) assertThat(selection.hasNext()).isFalse() assertThat(routeSelector.hasNext()).isFalse() } @Test fun addressesNotSortedWhenFastFallbackIsOff() { val address =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Mar 06 17:33:38 UTC 2024 - 20.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt
import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.containsExactlyInAnyOrder import assertk.assertions.isEmpty import assertk.assertions.isEqualTo import assertk.assertions.isSameAs import java.util.concurrent.RejectedExecutionException import kotlin.test.assertFailsWith import okhttp3.TestLogHandler import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 23K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
*/ package okhttp3.logging import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isLessThan import assertk.assertions.isLessThanOrEqualTo import assertk.assertions.isSameAs import assertk.assertions.matches import java.net.UnknownHostException import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import okhttp3.HttpUrl import okhttp3.Interceptor import okhttp3.MediaType
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 09:14:38 UTC 2024 - 37.6K bytes - Viewed (0)