Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for someDir (0.57 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderCachingIntegrationTest.groovy

            // thus causing :foo:foo and :bar:bar to have separate ClassLoaders.
            File someLib = file('lib/someLib.jar')
            jarWithClasses(someLib, SomeClass: 'class SomeClass {}')
    
            file("foo/build.gradle") << """
                buildscript { dependencies { classpath(files('${someLib.toURI()}')) } }
            """
    
            // Load the StaticData class in the different sub-sub-projects
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/BuildSrcIdentityIntegrationTest.groovy

            succeeds()
    
            where:
            settings                     | rootProjectName | display
            ""                           | "buildSrc"      | "default root project name"
            "rootProject.name='someLib'" | "someLib"       | "configured root project name"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/service/scopes/DefaultGradleUserHomeScopeServiceRegistryTest.groovy

                return new SomeGlobalService()
            }
        }
    
        class SomeHomeDirService implements Closeable {
            final File homeDir;
            boolean closed
    
            SomeHomeDirService(File homeDir) {
                this.homeDir = homeDir
            }
    
            @Override
            void close() throws IOException {
                closed = true
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractAndroidSantaTrackerSmokeTest.groovy

        TestFile homeDir
    
        String kotlinVersion = KOTLIN_VERSIONS.latestStable
    
        def setup() {
            homeDir = temporaryFolder.createDir("test-kit-home")
        }
    
        def cleanup() {
            // The daemons started by test kit need to be killed, so no locked files are left behind.
            DaemonLogsAnalyzer.newAnalyzer(homeDir.file(ToolingApiGradleExecutor.TEST_KIT_DAEMON_DIR_NAME)).killAll()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. 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)
Back to top