- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assumeConscrypt (0.07 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)