- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TestFileCollection (0.48 sec)
-
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/AbstractFileCollectionTest.groovy
void canAddCollectionsTogether() { File file1 = new File("f1") File file2 = new File("f2") File file3 = new File("f3") TestFileCollection collection1 = new TestFileCollection(file1, file2) TestFileCollection collection2 = new TestFileCollection(file2, file3) when: FileCollection sum = collection1.plus(collection2) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy
def source1 = new TestFileCollection() def source2 = new TestFileCollection() def collection = new TestCompositeFileCollection(source1, source2) expect: collection.isEmpty() } def "isn't empty when any source collection is not empty"() { def source1 = new TestFileCollection() def source2 = new TestFileCollection(file2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 9.4K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/UnionFileCollectionTest.groovy
new UnionFileCollection(TestFiles.taskDependencyFactory(), source) } def containsUnionOfAllSourceCollections() { def source1 = new TestFileCollection(file1, file2) def source2 = new TestFileCollection(file2, file3) expect: def collection = newUnionFileCollection(source1, source2) collection.files.toList() == [file1, file2, file3]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.1K bytes - Viewed (0)