- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for implicitFinalizeValue (0.38 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
then: 1 * function.call() >> someValue() 0 * _ when: property.finalizeValue() property.implicitFinalizeValue() property.implicitFinalizeValue() property.disallowChanges() then: 0 * _ } def "can finalize after changes disallowed"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
} def "cannot set to empty map after value finalized implicitly"() { given: property.set(someValue()) property.implicitFinalizeValue() when: property.empty() then: def e = thrown IllegalStateException e.message == 'The value for this property cannot be changed any further.' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
} def "cannot set to empty list after value finalized implicitly"() { given: def property = property() property.set(someValue()) property.implicitFinalizeValue() when: property.empty() then: def e = thrown(IllegalStateException) e.message == 'The value for this property cannot be changed any further.' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K bytes - Viewed (0)