Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for recordedConnectionEventTypes (0.72 sec)

  1. okhttp/src/test/java/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. 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> {
        return connectionListener.recordedEventTypes()
      }
    
      companion object {
        /**
         * A network that resolves only one IP address per host. Use this when testing route selection
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top