Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 954 for Executer (0.18 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Copies the settings from this executer to the given executer.
         *
         * @param executer The executer to copy to
         * @return The passed in executer
         */
        GradleExecuter copyTo(GradleExecuter executer);
    
        /**
         * Where possible, starts the Gradle build process in debug mode with the provided options.
         */
        GradleExecuter startBuildProcessInDebugger(Action<JavaDebugOptionsInternal> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            then:
            outputContains("Test executor initialized Native services: false")
            outputContains("Build inside a test executor initialized Native services: true")
            outputContains("Build inside a test executor uses Native services: true")
        }
    
        def "daemon with different native services flag is not reused"() {
            given:
            executer.requireDaemon()
            executer.requireIsolatedDaemons()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                executer.withTasks("d").withArguments("-x", ":sub:c").run().assertTasksExecuted(":a", ":b", ":c", ":d", ":sub:d")
                executer.withTasks("d").withArguments("-x", "d").run().assertTasksExecuted()
                // Project defaults
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

    import org.gradle.integtests.fixtures.executer.ArtifactBuilder
    import org.gradle.integtests.fixtures.executer.ExecutionFailure
    import org.gradle.integtests.fixtures.executer.ExecutionResult
    import org.gradle.integtests.fixtures.executer.GradleBackedArtifactBuilder
    import org.gradle.integtests.fixtures.executer.GradleContextualExecuter
    import org.gradle.integtests.fixtures.executer.GradleDistribution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/shared-configuration.kt

        val defaultExecuter = "embedded"
    
        // For all the other executers, add an executer specific task
        testType.executers.forEach { executer ->
            val taskName = "$executer${prefix.capitalize()}Test"
            val testTask = createTestTask(taskName, executer, sourceSet, testType) {}
            if (executer == defaultExecuter) {
                // The test task with the default executer runs with 'check'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 23:14:25 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            String expectedJavaHome = "-PexpectedJavaHome=${javaHome}"
    
            then:
            // Handle JAVA_HOME specified
            executer.withJavaHome(javaHome).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
            // Handle JAVA_HOME with trailing separator
            executer.withJavaHome(javaHome + File.separator).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaProjectIntegrationTest.groovy

                package org.gradle;
                public class NotATest {}
            """
    
            expect:
            executer.expectDocumentedDeprecationWarning("No test executed. This behavior has been deprecated. " +
                "This will fail with an error in Gradle 9.0. There are test sources present but no test was executed. Please check your test configuration. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingModelsWithDependencyResolutionIntegrationTest.groovy

            file("c/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
            file("d/build.gradle") << """
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            def model = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            model.size() == 4
            model[0].message == "project :a classpath = 2"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiBuildActionIntegrationTest.groovy

    
            when:
            executer.withArguments(ENABLE_CLI)
            def model3 = runBuildAction(new FetchCustomModelForEachProject())
    
            then:
            fixture.assertStateLoaded()
    
            and:
            model3.size() == 1
            model3[0].message == "It works from project :"
    
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top