Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cloneSharesStatefulInstances (0.28 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        assertThat(original.networkInterceptors.size).isEqualTo(0)
      }
    
      /**
       * When copying the client, stateful things like the connection pool are shared across all
       * clients.
       */
      @Test fun cloneSharesStatefulInstances() {
        val client = clientTestRule.newClient()
    
        // Values should be non-null.
        val a = client.newBuilder().build()
        assertThat(a.dispatcher).isNotNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top