Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for startUp (0.74 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

                if (file.endsWith(".gradle.kts")) {
                    withProblem("Settings file '${relativePath(file)}': external process started")
                } else {
                    withProblem("Settings file '${relativePath(file)}': line 5: external process started")
                }
            }
    
            where:
            snippetsFactory             | file
            exec().groovy               | "included/settings.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/UnrelatedMethodInstrumentationInDynamicGroovyIntegrationTest.groovy

                    e.exec(["some", "string"] as String[], ["array"] as String[], file("test"))
    
                    def s = new ProcessBuilderStart()
                    s.start()
                """, enableIndy)
    
            when:
            configurationCacheRun("-q", ":help")
    
            then:
            configurationCache.assertStateStored()
    
            where:
            enableIndy << [true, false]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationIntegrationTest.groovy

                }
            """
    
            sourceFolder.file("ProcessBuilderStart.java") << """
                public class ProcessBuilderStart {
                    public Process start() { return null; }
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy

                }
                tasks.register("myTask", MyTask) {
                    // use an undeclared input so we can test --refresh-dependencies
                    // URL.text is not tracked for now; we'll have to change it once we start to track it
                    message.set(file("message").toPath().toUri().toURL().text)
                }
            """
            file("message") << "foo"
    
            when:
            configurationCacheRun "myTask"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy

        @Rule
        HttpServer server = new HttpServer()
    
        String scriptUrl
        TestFile scriptFile
        String scriptName = "remote-script.gradle"
        def configurationCache
    
        def setup() {
            server.start()
    
            scriptUrl = "${server.uri}/${scriptName}"
            scriptFile = file("remote-script.gradle") << """
                println 'loaded remote script'
            """
            server.expectGet "/$scriptName", scriptFile
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/ProcessInstrumentationInKotlinIntegrationTest.groovy

            // ProcessBuilder.start()
            fromStringArray() | "ProcessBuilder(*command).start()"                                                  | ""                | ""
            fromStringList()  | "ProcessBuilder(command).start()"                                                   | ""                | ""
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheParallelTaskIntegrationTest.groovy

    does not really make any difference to the coverage
    """)
        def "runs tasks in different projects in parallel by default"() {
            server.start()
    
            given:
            createDirs("a", "b", "c")
            settingsFile << """
                include 'a', 'b', 'c'
            """
            buildFile << """
                class SlowTask extends DefaultTask {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

            then:
            failure.assertOutputContains("FOOBAR=$expectedEnvVar\nCWD=${cwd.path}")
            problems.assertFailureHasProblems(failure) {
                withProblem("Plugin class 'SomePlugin': external process started")
            }
    
            where:
            [varInitializer, processCreator, expectedPwdSuffix, expectedEnvVar, enableIndy] << testCases
    
            title = processCreator.replace("command", varInitializer.description)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

         * {@inheritDoc}
         */
        @Override
        @PathSensitive(PathSensitivity.NAME_ONLY)
        FileTree getSource() {
            return super.getSource();
        }
    
        @TaskAction
        def extract() {
            Date start = new Date()
    
            //parsing all input files into metadata
            //and placing them in the repository object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 12:45:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            cleanup:
            link.delete()
    
            where:
            walkerInstance << walkers
        }
    
        def "file walker sees a snapshot of file metadata even if files are deleted after walking has started"() {
            given:
            def rootDir = tmpDir.createDir("root")
            long minimumTimestamp = (System.currentTimeMillis() / 1000 * 1000) - 2000
            def file1 = rootDir.createFile("a/b/1.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top