- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for recordedConnectionEventTypes (0.12 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", ) } @TestRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 11.6K 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 Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 10.8K bytes - Viewed (0)