Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeNotGraalVMImage (0.11 sec)

  1. 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)
  2. 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)
Back to top