- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for newAddress (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt
byteArrayOf(1, 2, 3, 4), ) assertThat( Route( factory.newAddress(uriHost = "1.2.3.4", uriPort = 1003), Proxy.NO_PROXY, InetSocketAddress(ipv4Address, 1003), ).toString(), ).isEqualTo("1.2.3.4:1003") assertThat( Route( factory.newAddress(uriHost = "example.com", uriPort = 1003), Proxy.NO_PROXY,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 20.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
/** The fake task runner prevents the cleanup runnable from being started. */ private val addressA = factory.newAddress("a") private val routeA1 = factory.newRoute(addressA) private val addressB = factory.newAddress("b") private val routeB1 = factory.newRoute(addressB) private val addressC = factory.newAddress("c") private val routeC1 = factory.newRoute(addressC) @AfterEach fun tearDown() { factory.close()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 12.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
class KotlinDeprecationErrorTest { private val factory = TestValueFactory() @AfterEach fun tearDown() { factory.close() } @Test @Disabled fun address() { val address: Address = factory.newAddress() val url: HttpUrl = address.url() val dns: Dns = address.dns() val socketFactory: SocketFactory = address.socketFactory() val proxyAuthenticator: Authenticator = address.proxyAuthenticator()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
@BeforeEach fun disabled() { assumeFalse(true) } @AfterEach fun tearDown() { factory.close() } @Test fun address() { val address: Address = factory.newAddress() val url: HttpUrl = address.url val dns: Dns = address.dns val socketFactory: SocketFactory = address.socketFactory val proxyAuthenticator: Authenticator = address.proxyAuthenticator
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)