- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 731 for platform (0.35 sec)
-
okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt
} /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid() // This is tautological so just confirms that it runs.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.4K 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() } }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
.teamcity/subprojects.json
"name": "persistent-cache", "path": "platforms/core-execution/persistent-cache", "unitTests": true, "functionalTests": true, "crossVersionTests": false }, { "name": "platform-base", "path": "platforms/software/platform-base", "unitTests": true, "functionalTests": true, "crossVersionTests": false }, { "name": "platform-jvm", "path": "platforms/jvm/platform-jvm",
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 23 22:33:41 UTC 2024 - 34.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
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
.github/workflows/tests.yml
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Sep 30 03:21:19 UTC 2024 - 6.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/Jdk9PlatformTest.kt
import org.junit.jupiter.api.extension.RegisterExtension class Jdk9PlatformTest { @RegisterExtension val platform = PlatformRule() @Test fun buildsWhenJdk9() { platform.assumeJdk9() assertThat(buildIfSupported()).isNotNull() } @Test fun buildsWhenJdk8() { platform.assumeJdk8() try { SSLSocket::class.java.getMethod("getApplicationProtocol")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Header import okhttp3.internal.http2.Http2Connection import okhttp3.internal.http2.Http2Stream import okhttp3.internal.platform.Platform import okhttp3.tls.internal.TlsUtil.localhost import okio.buffer import okio.source /** A basic HTTP/2 server that serves the contents of a local directory. */ class Http2Server(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_unspecified.go
} func (m *realDeps) flush(name string) error { return errors.New("not implemented on this platform") } func (m *realDeps) clearEntriesWithComment(name, comment string) error { return errors.New("not implemented on this platform") } func (m *realDeps) clearEntriesWithIP(name string, ip netip.Addr) error { return errors.New("not implemented on this platform") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Apr 30 22:24:38 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt
bytes: ByteString, ) { Platform.get().log("[WS $name] onMessage", Platform.INFO, null) val delegate = delegate if (delegate != null) { this.delegate = null delegate.onMessage(webSocket, bytes) } else { events.add(Message(bytes = bytes)) } } override fun onMessage( webSocket: WebSocket, text: String, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K 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) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0)