Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeNotBouncyCastle (0.07 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        enableProtocol(Protocol.HTTP_2)
        noRecoverWhenRetryOnConnectionFailureIsFalse()
      }
    
      @Test
      fun tlsHandshakeFailure_noFallbackByDefault() {
        platform.assumeNotBouncyCastle()
    
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse.Builder().failHandshake().build())
        server.enqueue(MockResponse(body = "response that will never be received"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

          }
        }
      }
    
      // TODO(jwilson): tests below this marker need to be migrated to OkHttp's request/response API.
      @Test
      fun connectViaHttpsWithSSLFallback() {
        platform.assumeNotBouncyCastle()
    
        server.useHttps(handshakeCertificates.sslSocketFactory())
        server.enqueue(MockResponse.Builder().failHandshake().build())
        server.enqueue(MockResponse(body = "this response comes via SSL"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top