Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,058 for Executer (0.21 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy

     */
    
    package org.gradle.performance.fixture
    
    import groovy.transform.CompileStatic
    import org.gradle.integtests.fixtures.executer.GradleDistribution
    import org.gradle.integtests.fixtures.executer.IntegrationTestBuildContext
    import org.gradle.integtests.fixtures.executer.UnderDevelopmentGradleDistribution
    import org.gradle.internal.time.Clock
    import org.gradle.internal.time.Time
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

                }
                """
    
            when:
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":a:a:thing", ":b:b:thing")
    
            when:
            executer.inDirectory(file("a"))
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":a:a:thing")
    
            // camel case matching
            when:
            run "th"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            NO    | "no"  | false
        }
    
        def "can ask yes/no and handle invalid input in interactive build"() {
            given:
            interactiveExecution()
    
            when:
            def gradleHandle = executer.withTasks("askYesNo").start()
    
            then:
            poll(INTERACTIVE_WAIT_TIME_SECONDS) {
                assert gradleHandle.standardOutput.contains(YES_NO_PROMPT)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/operations/configuration/IsolatedProjectsSettingsBuildOperationsIntegrationTest.groovy

     */
    
    package org.gradle.operations.configuration
    
    import org.gradle.integtests.fixtures.AbstractIntegrationSpec
    import org.gradle.integtests.fixtures.BuildOperationsFixture
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.internal.configurationcache.options.ConfigurationCacheSettingsFinalizedProgressDetails
    import org.gradle.test.precondition.Requires
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 12:57:53 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainIntegrationTest.groovy

    import org.junit.Assume
    
    class DaemonToolchainIntegrationTest extends AbstractIntegrationSpec implements DaemonJvmPropertiesFixture, JavaToolchainFixture {
        def setup() {
            executer.requireIsolatedDaemons()
            executer.requireDaemon()
        }
    
        def "Given daemon toolchain version When executing any task Then daemon jvm was set up with expected configuration"() {
            given:
            writeJvmCriteria(Jvm.current())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            """
            javaProject(file("a"))
            javaProject(file("b"), """
                dependencies {
                    implementation(project(':a'))
                }
            """)
    
            when:
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
            then:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":", ":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy

                    options.noTimestamp = false
                }
            """
    
            file("src/main/java/Thing.java") << """
                /** Some thing. */
                public class Thing { }
            """
            executer.withArgument("-Porg.gradle.java.installations.paths=" + jvm.javaHome.absolutePath)
        }
    
        def "can compile source and run JUnit tests using target Java version"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:59:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildTreeStructureIntegrationTest.groovy

                    }
                }
            """
        }
    
        def "restores only projects that have work scheduled"(List<String> tasks) {
            def fixture = new BuildOperationsFixture(executer, temporaryFolder)
            executer.beforeExecute {
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
            createDirs("a", "b", "c", "custom")
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/UpToDateScalaCompileIntegrationTest.groovy

            when:
            executer.withJavaHome(jdk8.javaHome)
            run 'compileScala'
    
            then:
            executedAndNotSkipped(':compileScala')
    
            when:
            executer.withJavaHome(jdk8.javaHome)
            run 'compileScala'
            then:
            skipped ':compileScala'
    
            when:
            executer.withJavaHome(jdk11.javaHome)
            run 'compileScala', '--info'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDirectoryPluginIntegrationTest.groovy

                    }
                }
                apply plugin: FirstPlugin
                apply plugin: SecondPlugin
            """
    
            when:
            executer.inDirectory(file("first")).withTasks("classes").run()
            executer.inDirectory(file("second")).withTasks("classes").run()
            configurationCacheRun("-Dfirst.property=first.value", "-Dsecond.property=second.value")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top