- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for attachProducer (0.15 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy
} def "shallow copy does not inherit producer from the original"() { given: def task = Mock(Task) def property = propertyWithNoValue() property.attachProducer(owner(task)) expect: assertHasNoProducer(property.shallowCopy()) } def "shallow copy reflects changes to the value"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 07 12:47:05 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java
if (displayName == null) { return DEFAULT_VALIDATION_DISPLAY_NAME; } return displayName; } @Override public void attachProducer(ModelObject owner) { if (this.producer == null) { this.producer = owner; } else if (this.producer != owner) { TreeFormatter formatter = new TreeFormatter();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:54 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy
property.addAll(supplierWithProducer(task2)) property.add(supplierWithProducer(task3)) expect: assertHasProducer(property, task1, task2, task3) property.attachProducer(owner(producer)) assertHasProducer(property, producer) } def "cannot set to empty list after value finalized"() { given: def property = property()
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
property.putAll(supplierWithProducer(task2)) property.put('a', supplierWithProducer(task3, '1')) expect: assertHasProducer(property, task1, task2, task3) property.attachProducer(owner(producer)) assertHasProducer(property, producer) } def "cannot set to empty map after value finalized"() { given: property.set(someValue())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 58.7K bytes - Viewed (0)