Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canAddEnvironmentVariables (0.16 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy

            when:
            options.environment = [key1: 12, key2: "${1+2}", key3: null]
    
            then:
            options.actualEnvironment == [key1: '12', key2: '3', key3: 'null']
        }
    
        def canAddEnvironmentVariables() {
            when:
            options.environment = [:]
    
            then:
            options.environment == [:]
    
            when:
            options.environment('key', 12)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top