Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectFailureOnConscryptPlatform (0.7 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        response2.close()
      }
    
      @Test
      fun unrelatedPinnedLeafCertificateInChain() {
        // https://github.com/square/okhttp/issues/4729
        platform.expectFailureOnConscryptPlatform()
        platform.expectFailureOnCorrettoPlatform()
        platform.expectFailureOnLoomPlatform()
    
        // Start with a trusted root CA certificate.
        val rootCa =
          HeldCertificate
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          }
        }
    
        fun resetPlatform() {
          if (platform != null) {
            Platform.resetForTests()
          }
        }
    
        fun expectFailureOnConscryptPlatform() {
          expectFailure(platformMatches(CONSCRYPT_PROPERTY))
        }
    
        fun expectFailureOnCorrettoPlatform() {
          expectFailure(platformMatches(CORRETTO_PROPERTY))
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
Back to top