- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for assertHasNoProducer (0.32 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy
then: assertHasProducer(copy, task) assertHasNoProducer(property) } 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()) }
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/testFixtures/groovy/org/gradle/api/internal/provider/ProviderAssertions.groovy
* limitations under the License. */ package org.gradle.api.internal.provider import org.gradle.api.Task trait ProviderAssertions { void assertHasNoProducer(ProviderInternal<?> provider) { def producer = provider.producer assert !producer.known producer.visitProducerTasks { assert false } producer.visitContentProducerTasks { assert false }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
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/file-collections/src/test/groovy/org/gradle/api/internal/file/FileSystemPropertySpec.groovy
def prop = propertyWithNoValue() def location = prop.locationOnly prop.attachProducer(owner(task)) assertHasProducer(prop, task) expect: assertHasNoProducer(location) } def "location provider does not check producer when source property is strict"() { given: def file = tmpDir.file("thing") def task = Stub(Task)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy
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/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy
- <b> - <c>""") } def "has no producer task and missing execution time value when property has no value"() { def property = propertyWithNoValue() expect: assertHasNoProducer(property) def value = property.calculateExecutionTimeValue() value.isMissing() } def "has no producer task and fixed execution time value when property has a fixed value"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 87.8K bytes - Viewed (0)