- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isBool (0.17 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt
connectionListener.forbidLock(client.dispatcher) testClient = client } return client } private fun initialClientBuilder(): OkHttpClient.Builder = if (isLoom()) { val backend = TaskRunner.RealBackend(loomThreadFactory()) val taskRunner = TaskRunner(backend) OkHttpClient.Builder() .connectionPool( buildConnectionPool(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
fun isBouncyCastle() = getPlatformSystemProperty() == BOUNCYCASTLE_PROPERTY fun isOpenJsse() = getPlatformSystemProperty() == OPENJSSE_PROPERTY fun isLoom() = getPlatformSystemProperty() == LOOM_PROPERTY fun isGraalVMImage() = TestUtil.isGraalVmImage fun hasHttp2Support() = !isJdk8() fun assumeConscrypt() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/LoomTest.kt
val request = Request(server.url("/")) client.newCall(request).execute().use { assertThat(it.code).isEqualTo(200) } } @Test fun testIfSupported() { assertThat(platform.isLoom()).isTrue() }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Viewed (0)