- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for assumeNotGraalVMImage (0.28 sec)
-
native-image-tests/src/main/kotlin/okhttp3/PublicSuffixDatabaseTest.kt
fun testResourcesLoaded() { val url = "https://api.twitter.com".toHttpUrl() assertThat(url.topPrivateDomain()).isEqualTo("twitter.com") } @Test fun testPublicSuffixes() { platform.assumeNotGraalVMImage() val metadata = FileSystem.RESOURCES.metadata(PublicSuffixDatabase.PUBLIC_SUFFIX_RESOURCE) assertThat(metadata.size!!).isGreaterThan(30000) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Dec 24 09:33:12 UTC 2023 - 1.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
} fun assumeNotAndroid() { assumeFalse(Platform.isAndroid) } fun assumeNotGraalVMImage() { assumeFalse(isGraalVMImage()) } fun assumeJdkVersion(majorVersion: Int) { assumeNotAndroid() assumeNotGraalVMImage() assumeTrue(PlatformVersion.majorVersion == majorVersion) } fun androidSdkVersion(): Int? {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15.3K bytes - Viewed (1) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
// might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto // option to the native-image command. platform.assumeNotGraalVMImage() val javaNetUrl = URL("mailto:******@****.***") assertThat(javaNetUrl.toHttpUrlOrNull()).isNull() } @Test fun fromUri() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 11.9K bytes - Viewed (0)