Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for pouch (0.04 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesArchivesIntegrationTest.groovy

            def archivesDir = dslDir.file("build/toArchive")
            archivesDir.createDir().file("my-report.pdf").touch()
            archivesDir.createDir().file("numbers.csv").touch()
    
            and: "A PDF report in a subdirectory of build/toArchive"
            archivesDir.createDir("metrics").file("scatterPlot.pdf").touch()
    
            when:
            succeeds("packageDistribution")
    
            then:
            def tmpOutDir = dslDir.file("tmp")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/plugins/AssemblerPluginTest.groovy

            realizeComponents().exe.sources.asm.source.srcDirs*.name == ["d1", "d2"]
        }
    
        def "creates assemble tasks for each non-empty executable source set "() {
            when:
            touch("src/test/asm/dummy.s")
            touch("src/test/anotherOne/dummy.s")
            dsl {
                pluginManager.apply AssemblerPlugin
    
                model {
                    components {
                        test(NativeExecutableSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/initialization/InternalGradleFailuresIntegrationTest.groovy

                }
            """
        }
    
        def "Error message due to unwritable build scope cache directory is not scary"() {
            given:
            def localGradleCache = file('.gradle')
            localGradleCache.touch()
    
            when:
            fails 'hello'
    
            then:
            localGradleCache.isFile()
            assertHasStartupFailure(failure, "Cache directory '${localGradleCache}' exists and is not a directory.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/files/SamplesFilesMiscIntegrationTest.groovy

            def reportsDir = dslDir.file('build/reports')
            reportsDir.createDir().file('my-report.pdf').touch()
            reportsDir.file('numbers.csv').touch()
    
            and: "A PDF report in a subdirectory of build/reports"
            reportsDir.createDir("metrics").file("scatterPlot.pdf").touch()
    
            when:
            succeeds('moveReports')
    
            then:
            def toArchiveDir = dslDir.file("build/toArchive")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GFileUtilsTest.groovy

            readFileQuietly(temp.createDir("dir")).startsWith "Unable to read file"
        }
    
        def "touch creates new empty file"() {
            def foo = temp.file("foo.txt")
    
            when:
            touch(foo)
            then:
            foo.exists()
            foo.length() == 0
            foo.file
        }
    
        def "touch touches existing file"() {
            def foo = temp.file("foo.txt") << "data"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/swift/SwiftDepsHandlerTest.groovy

        def setup() {
            moduleSwiftDeps = tmpDir.file("module.swiftdeps")
            barSource = tmpDir.file("src/bar.swift").touch()
            fooSource = tmpDir.file("src/foo.swift").touch()
            mainSource = tmpDir.file("src/main.swift").touch()
            unknownSource = tmpDir.file("src/unknown.swift").touch()
    
            moduleSwiftDeps << """
    version: "Swift version 4.0.3 (swift-4.0.3-RELEASE)"
    options: "7890c730e32273cd2686f36d1bd976c0"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
            file.createNewFile();
            updateCheckManager.touch(a, remoteRepository, null);
    
            assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            assertNull(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

                exportedHeaders.srcDirs*.name == ["h3"]
            }
        }
    
        def "creates compile tasks for each non-empty executable source set"() {
            when:
            touch("src/test/$pluginName/file.o")
            touch("src/test/anotherOne/file.o")
            dsl {
                pluginManager.apply pluginClass
                model {
                    components {
                        test(NativeExecutableSpec) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/AntProjectIntegrationTest.groovy

        void antTargetsAndGradleTasksCanDependOnEachOther() {
            testFile('build.xml') << """
    <project>
        <target name='target1' depends='target2,initialize'>
            <touch file='build/target1.txt'/>
        </target>
        <target name='target2' depends='initialize'>
            <touch file='build/target2.txt'/>
        </target>
    </project>
    """
            testFile('build.gradle') << """
    ant.importBuild(file('build.xml'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

        boolean isUpdateRequired(Artifact artifact, ArtifactRepository repository);
    
        void touch(Artifact artifact, ArtifactRepository repository, String error);
    
        String getError(Artifact artifact, ArtifactRepository repository);
    
        boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    
        void touch(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top