Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MissingValueException (0.38 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            !property.present
            property.getOrNull() == null
            property.getOrElse(someValue()) == someValue()
    
            when:
            property.get()
    
            then:
            def e = thrown(MissingValueException)
            e.message == "Cannot query the value of ${displayName} because it has no value available."
        }
    
        def "toString() does not realize value"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top