Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for someDir (0.35 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. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            childResolver.dirMode == 0x4
        }
    
        def canWalkDownTreeCreatedUsingFromIntegrationTest() {
    
            CopySpec child = parentSpec.from('somedir') { into 'child' }
            child.from('somedir') { into 'grandchild' }
            child.from('somedir') { into '/grandchild' }
    
            when:
            List<RelativePath> paths = new ArrayList<RelativePath>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/go/internal/vcweb/vcweb.go

    		if err != nil {
    			return nil, err
    		}
    	}
    
    	homeDir := filepath.Join(workDir, "home")
    	if err := os.MkdirAll(homeDir, 0755); err != nil {
    		return nil, err
    	}
    
    	env := scriptEnviron(homeDir)
    
    	s := &Server{
    		env:       env,
    		logger:    logger,
    		scriptDir: scriptDir,
    		workDir:   workDir,
    		homeDir:   homeDir,
    		engine:    newScriptEngine(),
    		vcsHandlers: map[string]vcsHandler{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top