- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for FileCollectionAdapter (0.41 sec)
-
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/FileCollectionAdapter.java
* Adapts a {@link MinimalFileSet} into a full {@link org.gradle.api.file.FileCollection}. */ public class FileCollectionAdapter extends AbstractOpaqueFileCollection { private final MinimalFileSet fileSet; public FileCollectionAdapter(MinimalFileSet fileSet) { this.fileSet = fileSet; } public FileCollectionAdapter(MinimalFileSet fileSet, TaskDependencyFactory taskDependencyFactory) { super(taskDependencyFactory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/FileCollectionAdapterTest.groovy
import spock.lang.Specification class FileCollectionAdapterTest extends Specification { def delegatesToTargetCollectionToBuildSetOfFiles() { MinimalFileSet fileSet = Mock() FileCollectionAdapter adapter = new FileCollectionAdapter(fileSet) def expectedFiles = [new File('a'), new File('b')] as Set when: def files = adapter.files then: files == expectedFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2K bytes - Viewed (0)