- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for platform (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt
companion object { @Volatile private var platform = findPlatform() const val INFO = 4 const val WARN = 5 private val logger = Logger.getLogger(OkHttpClient::class.java.name) @JvmStatic fun get(): Platform = platform fun resetForTests(platform: Platform = findPlatform()) { this.platform = platform }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.8K bytes - Viewed (1) -
okhttp/src/test/resources/web-platform-test-toascii.json
Jesse Wilson <******@****.***> 1703114827 -0500
Json - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 5.2K bytes - Viewed (0) -
okhttp/src/test/resources/web-platform-test-urltestdata.txt
Jesse Wilson <******@****.***> 1703114827 -0500
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Dec 20 23:27:07 GMT 2023 - 14.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} if (platform != null) { Platform.resetForTests(platform) } else { Platform.resetForTests() } if (requiredPlatformName != null) { System.err.println("Running with ${Platform.get().javaClass.simpleName}") } } fun resetPlatform() { if (platform != null) { Platform.resetForTests() } }
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) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
import org.junit.jupiter.engine.JupiterTestEngine import org.junit.platform.console.options.Theme import org.junit.platform.engine.DiscoverySelector import org.junit.platform.engine.TestDescriptor import org.junit.platform.engine.TestEngine import org.junit.platform.engine.discovery.DiscoverySelectors.selectClass import org.junit.platform.launcher.Launcher import org.junit.platform.launcher.LauncherDiscoveryRequest
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
// // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944 // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576 if (!platform.isJdk9() && !platform.isOpenJsse() && !platform.isJdk8Alpn()) { reuseSession = true } client.newCall(request).execute().use { response -> assertEquals(200, response.code) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Jan 20 10:30:28 GMT 2024 - 6K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
* limitations under the License. */ package okhttp3 import java.io.OutputStream import java.io.PrintStream import org.junit.platform.engine.TestExecutionResult import org.junit.platform.launcher.TestExecutionListener import org.junit.platform.launcher.TestIdentifier import org.junit.platform.launcher.TestPlan object DotListener : TestExecutionListener { private var originalSystemErr: PrintStream? = null
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
* limitations under the License. */ package okhttp3.testing import okhttp3.internal.platform.Platform import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /** * Validates which environment is used by the IDE. */ class PlatformRuleTest { @RegisterExtension @JvmField val platform = PlatformRule() @Test fun testMode() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/android/AndroidSocketAdapterTest.kt
import org.junit.jupiter.params.ParameterizedTest 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()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.platform.android import javax.net.ssl.SSLSocket import okhttp3.Protocol import okhttp3.internal.platform.BouncyCastlePlatform import okhttp3.internal.platform.Platform import org.bouncycastle.jsse.BCSSLSocket /** * Simple non-reflection SocketAdapter for BouncyCastle. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.1K bytes - Viewed (0)