Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for someDir (0.15 sec)

  1. 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)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/locking/ExclusiveFileAccessManagerTest.groovy

        def 'If the directory for the lock file cannot be created then we get a good error message'() {
            given:
            def fileWithSameNameAsDirectory = temporaryDirectory.createFile('someDir')
            when:
            manager.access(fileWithSameNameAsDirectory.file('someFile.zip')) {
            }
    
            then:
            RuntimeException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:53 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/AbstractTaskSubclassingBinaryCompatibilityCrossVersionSpec.groovy

    """
        }
    
        protected void prepareMethodUseTest(GradleVersion targetVersion) {
            file("someFile").touch()
            file("anotherFile").touch()
            file("yetAnotherFile").touch()
            file("someDir").createDir()
    
            def apiDepConf = "implementation"
            if (targetVersion < GradleVersion.version("7.0-rc-1")) {
                apiDepConf = "compile"
            }
            def groovyDepConf
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiIdeaModelCrossVersionSpec.groovy

        }
    
        def "provides basic module information"() {
    
            file('build.gradle').text = """
    apply plugin: 'java'
    apply plugin: 'idea'
    
    idea.module.inheritOutputDirs = false
    idea.module.outputDir = file('someDir')
    idea.module.testOutputDir = file('someTestDir')
    """
    
            when:
            IdeaProject project = loadToolingModel(IdeaProject)
            def module = project.children[0]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/DaemonRegistryServicesTest.groovy

            when:
            // obtain localhost address ahead of time as the first call in a JVM can take multiple secs in some systems
            def localhost = Inet6Address.getLocalHost()
            def registry = registry("someDir").get(DaemonRegistry)
            5.times { idx ->
                concurrent.start {
                    def context = new DefaultDaemonContext(
                        "$idx",
                        new File("$idx"),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

                    public MyTask() {
                        getInputs().file("somefile");
                        getInputs().files("afile", "anotherfile");
                        getInputs().dir("someDir");
                        getInputs();
                        getOutputs();
                    }
                }
            """
            builder.buildJar(pluginJar)
    
            buildFile << """
                buildscript {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/net/http/serve_test.go

    	msg     string
    }{
    	{"/", "Default"},
    	{"/someDir/", "someDir"},
    	{"/#/", "hash"},
    	{"someHost.com/someDir/", "someHost.com/someDir"},
    }
    
    var vtests = []struct {
    	url      string
    	expected string
    }{
    	{"http://localhost/someDir/apage", "someDir"},
    	{"http://localhost/%23/apage", "hash"},
    	{"http://localhost/otherDir/apage", "Default"},
    	{"http://someHost.com/someDir/apage", "someHost.com/someDir"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestBuildScopeServices.java

    import java.util.Map;
    
    public class TestBuildScopeServices extends BuildScopeServices {
        private final File homeDir;
    
        public TestBuildScopeServices(ServiceRegistry parent, File homeDir, BuildModelControllerServices.Supplier supplier) {
            super(parent, supplier);
            this.homeDir = homeDir;
            register(registration -> {
                registration.add(DefaultProjectDescriptorRegistry.class);
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:42 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top