Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for assumeJettyBootEnabled (0.18 sec)

  1. okhttp/src/test/java/okhttp3/internal/platform/Jdk8WithJettyBootPlatformTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      @Test
      fun testBuildsWithJettyBoot() {
        assumeTrue(System.getProperty("java.specification.version") == "1.8")
        platform.assumeJettyBootEnabled()
        assertThat(buildIfSupported()).isNotNull()
      }
    
      @Test
      fun testNotBuildWithOther() {
        assumeFalse(System.getProperty("java.specification.version") == "1.8")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

          assumeTrue(getPlatformSystemProperty() != OPENJSSE_PROPERTY)
        }
    
        fun assumeNotHttp2Support() {
          assumeTrue(getPlatformSystemProperty() == JDK8_PROPERTY)
        }
    
        fun assumeJettyBootEnabled() {
          assumeTrue(isAlpnBootEnabled())
        }
    
        fun assumeNotAndroid() {
          assumeFalse(Platform.isAndroid)
        }
    
        fun assumeNotGraalVMImage() {
          assumeFalse(isGraalVMImage())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top