Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,891 for FILE (0.04 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            then:
            noExceptionThrown()
            sharedLibrary(consumer.file("build/install/main/debug/lib/deck")).file.assertExists()
            sharedLibrary(consumer.file("build/install/main/debug/lib/card")).file.assertExists()
            sharedLibrary(consumer.file("build/install/main/debug/lib/shuffle")).file.assertExists()
            installation(consumer.file("build/install/main/debug")).exec().out == app.expectedOutput
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            and:
            def distBase = file("build/install/application")
            distBase.file("dir").directory
            distBase.file("dir/r1.txt").text == "r1"
            distBase.file("dir/r2.txt").text == "r2"
        }
    
        def "configure the distribution spec to source from a different dir"() {
            when:
            file("src/somewhere-else/dir").with {
                file("r1.txt") << "r1"
                file("r2.txt") << "r2"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIncludedBuildIntegrationTest.groovy

    import org.gradle.test.fixtures.file.TestFile
    import org.gradle.test.fixtures.plugin.PluginBuilder
    
    class BuildSrcIncludedBuildIntegrationTest extends AbstractIntegrationSpec {
        def "buildSrc can use a library contributed by a build that it includes"() {
            file("buildSrc/settings.gradle") << """
                includeBuild("../included")
            """
            file("buildSrc/build.gradle") << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 13 02:04:28 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginVersionIntegrationTest.groovy

            expect:
            succeeds('check')
            file("build/reports/checkstyle/main.sarif").assertDoesNotExist()
            file("build/reports/checkstyle/test.sarif").assertDoesNotExist()
            file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.Class1"))
            file("build/reports/checkstyle/main.xml").assertContents(containsClass("org.gradle.Class2"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultFilePropertyFactoryTest.groovy

            def location = tmpDir.createFile("file")
    
            expect:
            def file = factory.file(location)
            file.asFile == location
        }
    
        def "can create file instance from relative file"() {
            def location = projectDir.createFile("file")
    
            expect:
            def file = factory.file(new File("file"))
            file.asFile == location
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/ProjectLoadingIntegrationTest.java

        }
    
        @Test
        public void buildFailsWhenSpecifiedProjectDirectoryIsNotADirectory() {
            TestFile file = testFile("unknown");
    
            ExecutionFailure result = usingProjectDir(file).runWithFailure();
            result.assertHasDescription("The specified project directory '" + file + "' does not exist.");
    
            file.createFile();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/InitScriptApi.kt

         * - A [File] as defined by [KotlinInitScript.file].
         * - A [java.nio.file.Path] as defined by [KotlinInitScript.file].
         * - A [URI] or [java.net.URL] as defined by [KotlinInitScript.file].
         * - A [org.gradle.api.file.Directory] or [org.gradle.api.file.RegularFile]
         *   as defined by [KotlinInitScript.file].
         * - A [Sequence], [Array] or [Iterable] that contains objects of any supported type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ConcurrentArchiveIntegrationTest.groovy

            handle.waitForFinish()
            then:
            // we should have extracted the file into a different directory for each extracter
            file("build/extract/thread_0/file.txt").assertExists()
            file("build/extract/thread_1/file.txt").assertExists()
            file("build/extract/thread_2/file.txt").assertExists()
    
            cleanup:
            handle?.abort()
            server.stop()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

        def "sync from composite file collection"() {
            given:
            file('source').create {
                file 'file1.txt'
                dir1 { file 'file2.txt' }
            }
            file('source2').create {
                file 'file3.txt'
                dir1 { file 'file4.txt' }
                ignore { file 'file5.txt' } // to be ignored
            }
            file('dest').create {
                file 'extra1.txt'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinScript.kt

         * @param path The object to resolve as a `File`.
         * @return The resolved file.
         */
        fun file(path: Any): File
    
        /**
         * Resolves a file path relative to this script's target base directory.
         *
         * @param path The object to resolve as a `File`.
         * @param validation The validation to perform on the file.
         * @return The resolved file.
         * @see file
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 12.3K bytes
    - Viewed (0)
Back to top