Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createJdkInstallation (0.29 sec)

  1. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJavaInstallationRegistryTest.groovy

            given:
            def jdk8 = createJdkInstallation("8")
            def jdk11 = createJdkInstallation("11")
            def jdk15 = createJdkInstallation("15")
    
            when:
            def registry = createRegistry([jdk8, jdk11, jdk15])
            def installations = registry.listInstallations()
    
            then:
            installations.size() == 3
            installations*.location.containsAll(jdk8, jdk11, jdk15)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top