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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top