Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for someDir (0.2 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

                }
            }
    
            when:
            allowFileSystemAccess(true)
            def snapshot = read(someDir)
            then:
            assertIsDirectorySnapshot(snapshot, someDir)
    
            when:
            allowFileSystemAccess(false)
            def subDir = someDir.file("sub")
            snapshot = read(subDir)
            then:
            assertIsDirectorySnapshot(snapshot, subDir)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

    '''
            when:
            run 'copy'
            then:
            file('dest').assertHasDescendants('someDir/1.txt')
        }
    
        @Issue("GRADLE-3310")
        def "handles gzip compressed tars from resources.gzip"() {
            given:
            TestFile tar = file('tar-contents')
            tar.create {
                someDir {
                    file '1.txt'
                    file '2.txt'
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. platforms/software/ivy/src/test/groovy/org/gradle/api/publish/ivy/internal/publisher/ValidatingIvyPublisherTest.groovy

            File someDir = new TestFile(testDirectoryProvider.testDirectory, "testFile")
            someDir.createDir()
    
            when:
            publisher.publish(publication, repository)
    
            then:
            ivyArtifact.name >> "name"
            ivyArtifact.type >> "type"
            ivyArtifact.extension >> "ext"
            ivyArtifact.file >> someDir
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactDeclarationIntegrationTest.groovy

            createDirs("a", "b")
            settingsFile << "include 'a', 'b'"
            buildFile << """
                project(':a') {
                    artifacts {
                        compile layout.projectDirectory.dir('someDir')
                    }
                }
                project(':b') {
                    dependencies {
                        compile project(':a')
                    }
                }
            """
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy

                        def input = inputArtifact.get().asFile
                        println "processing \${input.name} using \${parameters.someDir.get().asFile.name}"
                        def output = outputs.file(input.name + ".green")
                        output.text = input.text + parameters.someDir.get().asFile.list().length + ".green"
                    }
                }
            """
    
            when:
            run(":a:resolve")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  6. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

    idea.project {
        def lib = new org.gradle.plugins.ide.idea.model.ProjectLibrary()
        lib.name = "someLib"
        lib.classes << file("someClasses.jar")
        lib.javadoc << file("someJavadoc.jar")
        lib.sources << file("someSources.jar")
        projectLibraries << lib
    }
    """)
    
            hasProjectLibrary("root.ipr", "someLib", ["someClasses.jar"], ["someJavadoc.jar"], ["someSources.jar"], [])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIdentityIntegrationTest.groovy

            where:
            settings                     | buildName | dependencyName | display
            ""                           | "buildB"  | "buildB"       | "default root project name"
            "rootProject.name='someLib'" | "buildB"  | "someLib"      | "configured root project name"
        }
    
        def "includes build identifier in dependency report with #display"() {
            dependency "org.test:${dependencyName}:1.0"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

            _ * localDistribution.distributionDir >> distributionDir
            _ * localDistribution.zipFile >> zipDestination
    
            when:
            def homeDir = install.createDist(configuration)
    
            then:
            homeDir == gradleHomeDir
            gradleHomeDir.assertIsDir()
            gradleHomeDir.file("bin/gradle").assertIsFile()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

        def setup() {
            configurationCache = newConfigurationCacheFixture()
        }
    
        def "build on Java project with no source"() {
            given:
            settingsFile << """
                rootProject.name = 'somelib'
            """
            buildFile << """
                plugins { id 'java' }
            """
    
            when:
            configurationCacheRun "build"
    
            then:
            assertStateStored()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildOperationsIntegrationTest.groovy

            "rootProject.name='someLib'" | "someLib"      | "configured root project name"
        }
    
        // Also covered by tests in configuration cache project
        @Requires(IntegTestPreconditions.NotConfigCached)
        def "generates build lifecycle operations for multiple included builds"() {
            given:
            def buildC = multiProjectBuild("buildC", ["someLib"]) {
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:43:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top