Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 125 for someFile (0.25 sec)

  1. 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)
  2. subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy

            !delete.getDidWork()
        }
    
        def "get target files and multiple targets"() {
            when:
            delete.delete("someFile")
            delete.delete(new File("someOtherFile"))
            delete.getTargetFiles()
    
            then:
            delete.getDelete() == WrapUtil.toSet("someFile", new File("someOtherFile"))
            delete.getTargetFiles().getFiles() == getProject().files(delete.getDelete()).getFiles()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 11:15:22 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/tests/buildServiceFromWorkAction.out

    > Task :download
    Server is running at https://localhost:5005/
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 110 bytes
    - Viewed (0)
  4. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/bundling/AbstractArchiveTaskTest.groovy

        }
    
        def "uses custom archive name when set"() {
            when:
            archiveTask.archiveFileName.set('somefile.out')
    
            then:
            archiveTask.archiveFileName.get() == 'somefile.out'
        }
    
        def "correct archive path"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 07 10:40:13 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/files/fileTrees/kotlin/build.gradle.kts

    tree.visit {
        println("${this.relativePath} => ${this.file}")
    }
    // end::use[]
    
    // tag::archive-trees[]
    // Create a ZIP file tree using path
    val zip: FileTree = zipTree("someFile.zip")
    
    // Create a TAR file tree using path
    val tar: FileTree = tarTree("someFile.tar")
    
    // tar tree attempts to guess the compression based on the file extension
    // however if you must specify the compression explicitly you can:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/plugins/buildService/kotlin/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/groovy/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  8. tensorflow/c/env_test.cc

        ASSERT_TF_OK(s) << "TF_CreateDir failed for " << dirpath << ": "
                        << TF_Message(s);
    
        ::tensorflow::string filepath =
            ::tensorflow::io::JoinPath(dirpath, "somefile.txt");
        TF_WritableFileHandle* handle;
        TF_NewWritableFile(filepath.c_str(), &handle, s);
        ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": "
                        << TF_Message(s);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 10 20:52:48 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/kotlin/buildSrc/src/main/java/Download.java

        @TaskAction
        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/verification/serializer/DependencyVerificationsXmlWriterTest.groovy

                addTrustedArtifact("group", "module", "1.0", null, true)
                addTrustedArtifact("group", "module", "1.1", "somefile.jar", false)
                addTrustedArtifact("group2", "module2", "1.2", "somefile.jar", true)
                addTrustedArtifact(null, "module2", null, "somefile.jar", true)
            }
            serialize()
    
            then:
            contents == """<?xml version="1.0" encoding="UTF-8"?>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 13:40:00 UTC 2024
    - 16.8K bytes
    - Viewed (0)
Back to top