- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for disallowUnsafeRead (0.23 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
def property = propertyWithNoValue() property.set(b) property.disallowUnsafeRead() b.set(c) b.attachOwner(owner(), displayName("<b>")) c.set(someValue()) c.attachOwner(owner(), displayName("<c>")) c.disallowUnsafeRead() given: property."$method"() when: b.set(someOtherValue())
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/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy
} def "cannot query files when unsafe reads disallowed and host is not ready"() { given: def file = new File('one') collection.from('a') collection.disallowUnsafeRead() when: collection.files then: def e = thrown(IllegalStateException) e.message == "Cannot query the value of <display> because <reason>."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 17:09:50 UTC 2024 - 53K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
def a = property() def b = property() def c = elementProperty() def property = property() property.disallowUnsafeRead() property.addAll(a) a.addAll(b) a.attachOwner(owner(), displayName("<a>")) b.attachOwner(owner(), displayName("<b>")) property.add(c)
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 a = property() def b = property() def c = valueProperty() def property = property() property.disallowUnsafeRead() property.putAll(a) a.putAll(b) a.attachOwner(owner(), displayName("<a>")) b.attachOwner(owner(), displayName("<b>")) property.put("c", c)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0)