Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isNotNull (0.14 sec)

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

        val client = clientTestRule.newClient()
    
        // Values should be non-null.
        val a = client.newBuilder().build()
        assertThat(a.dispatcher).isNotNull()
        assertThat(a.connectionPool).isNotNull()
        assertThat(a.sslSocketFactory).isNotNull()
        assertThat(a.x509TrustManager).isNotNull()
    
        // Multiple clients share the instances.
        val b = client.newBuilder().build()
        assertThat(b.dispatcher).isSameAs(a.dispatcher)
    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