Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for expectFailureOnLoomPlatform (0.17 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

      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()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
    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 expectFailureOnJdkVersion(majorVersion: Int) {
          if (!TestUtil.isGraalVmImage) {
            expectFailure(onMajor(majorVersion))
          }
        }
    
        fun expectFailureOnLoomPlatform() {
          expectFailure(platformMatches(LOOM_PROPERTY))
        }
    
        private fun expectFailure(
          versionMatcher: Matcher<out Any>,
          failureMatcher: Matcher<out Any> = anything(),
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top