Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for supplierWithProducer (0.17 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/AbstractPropertySpec.groovy

            property.type == property.shallowCopy().type
        }
    
        def "shallow copy inherits dependencies of the original"() {
            given:
            def task = Mock(Task)
            def provider = supplierWithProducer(task)
            def property = propertyWithNoValue()
            property.set(provider)
    
            expect:
            assertHasProducer(property.shallowCopy(), task)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 12:47:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top