- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for disallowChanges (0.3 sec)
-
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 49.7K 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 changes disallowed"() { given: property.set(someValue()) property.disallowChanges() 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/integTest/groovy/org/gradle/api/provider/PropertyLifecycleIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 14:00:52 UTC 2024 - 15K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/MapPropertyIntegrationTest.groovy
def property = objects.mapProperty(Integer, Integer) property.set(provider) assert property.get() == [1: 2] assert property.get() == [3: 4] property.disallowChanges() assert property.get() == [5: 6] assert property.get() == [7: 8] property.set([1: 2]) '''.stripIndent() when: fails()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 04 15:28:53 UTC 2024 - 24.5K bytes - Viewed (0)