Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeOpenJsse (0.06 sec)

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

      var client = clientTestRule.newClient()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        platform.assumeOpenJSSE()
      }
    
      @Test
      fun testTlsv13Works() {
        enableTls()
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request = Request(server.url("/"))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeTrue(getPlatformSystemProperty() == CONSCRYPT_PROPERTY)
        }
    
        fun assumeJdk9() {
          assumeTrue(getPlatformSystemProperty() == JDK9_PROPERTY)
        }
    
        fun assumeOpenJSSE() {
          assumeTrue(getPlatformSystemProperty() == OPENJSSE_PROPERTY)
        }
    
        fun assumeJdk8() {
          assumeTrue(getPlatformSystemProperty() == JDK8_PROPERTY)
        }
    
        fun assumeJdk8Alpn() {
    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