Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeBouncyCastle (0.11 sec)

  1. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        OkHttpDebugLogging.enable("org.bouncycastle.jsse")
        platform.assumeBouncyCastle()
      }
    
      @Test
      fun testMozilla() {
        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeTrue(getPlatformSystemProperty() == JDK8_ALPN_PROPERTY)
        }
    
        fun assumeCorretto() {
          assumeTrue(getPlatformSystemProperty() == CORRETTO_PROPERTY)
        }
    
        fun assumeBouncyCastle() {
          assumeTrue(getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY)
        }
    
        fun assumeOpenJsse() {
          assumeTrue(getPlatformSystemProperty() == OPENJSSE_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