- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for recordedConnectionEventTypes (0.39 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
assertThat(client.routeDatabase.failedRoutes).isEmpty() assertThat(server1.requestCount).isEqualTo(1) assertThat(server2.requestCount).isEqualTo(0) assertThat(clientTestRule.recordedConnectionEventTypes()).containsExactly( "ConnectStart", "ConnectEnd", "ConnectionAcquired", "ConnectionReleased", ) } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
synchronized(clientEventsList) { println("$testName Events (${clientEventsList.size})") for (e in clientEventsList) { println(e) } } } fun recordedConnectionEventTypes(): List<String> = connectionListener.recordedEventTypes() companion object { /** * A network that resolves only one IP address per host. Use this when testing route selection
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 10.5K bytes - Viewed (0)