Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createSupplier (0.12 sec)

  1. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy

        def "supplies no installations for non-existing directory"(boolean useProperty) {
            assert mavenHome.delete()
    
            given:
            def supplier = useProperty ? createSupplier(mavenHome.getCanonicalPath(), null) : createSupplier(null, userHome)
    
            when:
            def directories = supplier.get()
    
            then:
            directories.isEmpty()
    
            where:
            useProperty << [true, false]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top