Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  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. 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)
  4. platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy

            def install1 = new File(temporaryFolder, "jdks/jdk-1").tap { mkdirs() }
            new File(install1, DefaultJdkCacheDirectory.MARKER_FILE).createNewFile()
    
            def install2 = new File(temporaryFolder, "jdks/jdk-2").tap { mkdirs() }
            new File(install2, DefaultJdkCacheDirectory.MARKER_FILE).createNewFile()
    
            new File(temporaryFolder, "jdks/notReady").tap { mkdirs() }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 06:41:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            file('dir1/META-INF/services/org.gradle.Service').write('org.gradle.DefaultServiceImpl')
            file('dir2/META-INF/services/org.gradle.Service').write('org.gradle.BetterServiceImpl')
            file('dir1/test.txt').write('Content of first file')
            file('dir2/test.txt').write('Content of second file')
        }
    
        private def confirmDuplicateServicesPreserved() {
            def jar = new JarTestFixture(file('test.jar'))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top