Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/test/java/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.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (1)
Back to top