Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of about 10,000 for FILE (0.2 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            given:
            TestFile dir = tmpDir.getTestDirectory()
            TestFile file = dir.file("someFile")
            file.createFile()
    
            when:
            boolean didWork = deleter.deleteRecursively(file)
    
            then:
            file.assertDoesNotExist()
            didWork
        }
    
        def "cleans non-empty directory"() {
            given:
            TestFile dir = tmpDir.getTestDirectory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/main/java/org/gradle/api/internal/tasks/scala/DefaultScalaJavaJointCompileSpec.java

    import java.io.File;
    import java.util.Map;
    
    public class DefaultScalaJavaJointCompileSpec extends DefaultJavaCompileSpec implements ScalaJavaJointCompileSpec {
        private final File javaExecutable;
        private MinimalScalaCompileOptions options;
        private Iterable<File> scalaClasspath;
        private Iterable<File> zincClasspath;
        private Iterable<File> scalaCompilerPlugins;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/TransformExecutionResultSerializerTest.groovy

        private TransformExecutionResult buildTransformExecutionResult(Collection<File> files) {
            def builder = TransformExecutionResult.builderFor(inputArtifact, outputDir)
            for (File file in files) {
                builder.addOutput(file) {}
            }
            return builder.build()
        }
    
        TestFile file(String path) {
            temporaryFolder.file(path)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/impl/DefaultFileCollectionSnapshotterTest.groovy

        def "snapshots a tree with file as root as RegularFileSnapshot"() {
            given:
            def tempDir = tmpDir.createDir('tmpDir')
            def file = tempDir.file('testFile')
            file.text = "content"
    
            when:
            def tree = new FileTreeAdapter(TestFiles.directoryFileTreeFactory().create(file), TestFiles.taskDependencyFactory(), TestFiles.patternSetFactory)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 16:25:23 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy

                it.details.targetType == "gradle" && it.details.buildPath == ":" && !it.details.file.endsWith(BuildOperationNotificationsFixture.FIXTURE_SCRIPT_NAME)
            }
            ops.size() == 3
    
            ops[0].details.file == initScript.absolutePath
            ops[1].details.file == otherScript1.absolutePath
            ops[2].details.file == otherScript2.absolutePath
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.4K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/file/FileCopyDetails.java

         *
         * @param name The destination name of this file.
         */
        void setName(String name);
    
        /**
         * Sets the destination path of this file.
         *
         * @param path The path of this file.
         */
        void setPath(String path);
    
        /**
         * Sets the destination path of this file.
         *
         * @param path the new path for this file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

            return wrapperJar.getParentFile().getParentFile().getParentFile();
        }
    
        private static File wrapperProperties(File wrapperJar) {
            return new File(wrapperJar.getParent(), wrapperJar.getName().replaceFirst("\\.jar$", ".properties"));
        }
    
        private static File wrapperJar() {
            URI location;
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/CommonFileSystemTest.groovy

            def file = tmpDir.file("someFile")
    
            when:
            fs.getUnixMode(file)
    
            then:
            FileException e = thrown()
            e.message == "Could not get file mode for '$file'."
        }
    
        def "unix permissions cannot be set on non existing file"() {
            def file = tmpDir.file("someFile")
    
            when:
            fs.chmod(file, 0644)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/publish/DefaultPublishArtifact.java

            String name, String extension, String type,
            String classifier, Date date, File file, Object... tasks) {
            super(taskDependencyFactory, tasks);
            this.name = name;
            this.extension = extension;
            this.type = type;
            this.date = date;
            this.classifier = classifier;
            this.file = file;
        }
    
        public DefaultPublishArtifact(String name, String extension, String type,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/caching/internal/packaging/impl/DefaultTarPackerFileSystemSupportTest.groovy

    import org.gradle.api.internal.file.TestFiles
    import org.gradle.test.fixtures.file.CleanupTestDirectory
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.junit.Rule
    import spock.lang.Specification
    
    import static org.gradle.internal.file.TreeType.DIRECTORY
    import static org.gradle.internal.file.TreeType.FILE
    
    @CleanupTestDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 06 01:29:26 UTC 2020
    - 3K bytes
    - Viewed (0)
Back to top