- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for assumeConscrypt (0.15 sec)
-
okhttp/src/test/java/okhttp3/ConscryptTest.kt
val platform = PlatformRule() @JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule() private val client = clientTestRule.newClient() @BeforeEach fun setUp() { platform.assumeConscrypt() } @Test fun testTrustManager() { assertThat(Conscrypt.isConscrypt(Platform.get().platformTrustManager())).isTrue() } @Test @Disabled fun testMozilla() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
import org.junit.jupiter.params.provider.MethodSource class AndroidSocketAdapterTest { @RegisterExtension @JvmField val platform = PlatformRule() @BeforeEach fun setUp() { platform.assumeConscrypt() } val context: SSLContext by lazy { val provider: Provider = Conscrypt.newProviderBuilder().provideTrustManager(true).build() SSLContext.getInstance("TLS", provider).apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
fun isLoom() = getPlatformSystemProperty() == LOOM_PROPERTY fun isGraalVMImage() = TestUtil.isGraalVmImage fun hasHttp2Support() = !isJdk8() fun assumeConscrypt() { assumeTrue(getPlatformSystemProperty() == CONSCRYPT_PROPERTY) } fun assumeJdk9() { assumeTrue(getPlatformSystemProperty() == JDK9_PROPERTY) } fun assumeOpenJSSE() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (0)