Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for filterSpec (0.12 sec)

  1. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

        }
    
        def "replace transformation result is evaluated lazily"() {
            given:
            Spec<File> filterSpec = Mock()
            collection.from(containing(new File("a.txt")))
    
            when:
            collection.replace { it.filter(filterSpec) }
    
            then:
            0 * filterSpec._
        }
    
        def "can set paths as convention to the collection"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top