Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,059 for Runner (0.1 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/exec/ChainingBuildActionRunnerTest.groovy

        def runner3 = Mock(BuildActionRunner)
        def runner = new ChainingBuildActionRunner([runner1, runner2, runner3])
    
        def "invokes runners until a result is produced"() {
            def action = Stub(BuildAction)
            def controller = Mock(BuildTreeLifecycleController)
    
            when:
            runner.run(action, controller)
    
            then:
            1 * runner1.run(action, controller) >> BuildActionRunner.Result.nothing()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerGradleVersionIntegrationTest.groovy

                            text = gradle.gradleVersion
                        }
                    }
                }
            """
    
            when:
            def runner = this.runner('writeVersion')
            configurer.execute(runner)
            runner.build()
    
            then:
            file("version.txt").text == version
    
            cleanup:
            killDaemons(version)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderCrossBuildPerformanceTest.groovy

            when:
            runner.testGroup = "group"
    
            then:
            runner.testId == "if no test id is set, the test method name is used"
        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testGroup = "group"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderCrossVersionPerformanceTest.groovy

            when:
            runner.testProject = "test"
    
            then:
            runner.testId == "if no test id is set, the test method name is used"
        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testProject = "test"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/integTest/groovy/org/gradle/performance/fixture/IdProviderGradleVsMavenPerformanceTest.groovy

        }
    
        def "if test id is set, it is not replaced"() {
            when:
            runner.testGroup = "group"
            runner.testId = "Another id"
    
            then:
            runner.testId == "Another id"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/GradleRunner.java

     * <p>
     * A Gradle runner can be used to functionally test build logic, by executing a contrived build.
     * Assertions can then be made on the outcome of the build, such as the state of files created by the build,
     * or what tasks were actually executed during the build.
     * <p>
     * A runner can be created via the {@link #create()} method.
     * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/java/JavaIDEModelPerformanceTest.groovy

            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressedWithHighRelativeMedianDifference()
        }
    
        private setupRunner() {
            def iterations = determineIterations()
            runner.warmUpRuns = iterations
            runner.runs = iterations
        }
    
        private determineIterations() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/bugreport/bugreport.go

    	runner := kubectlcmd.NewRunner(gConfig.RequestConcurrency)
    	runner.ReportRunningTasks()
    	if err := configLogs(logOpts); err != nil {
    		return err
    	}
    	config, err := parseConfig()
    	if err != nil {
    		return err
    	}
    	clusterCtxStr := ""
    	if config.Context == "" {
    		var err error
    		clusterCtxStr, err = content.GetClusterContext(runner, config.KubeConfigPath)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerArgumentsIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner
    
    class GradleRunnerArgumentsIntegrationTest extends BaseGradleRunnerIntegrationTest {
    
        def "can execute build without specifying any arguments"() {
            given:
            buildScript """
                help {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/internal/operations/BuildOperationExecutorSupport.java

                this.timeSupplier = timeSupplier;
                return this;
            }
    
            public Builder withRunner(BuildOperationRunner runner) {
                this.runner = runner;
                return this;
            }
    
            public Builder withWorkerLeaseService(WorkerLeaseService workerLeaseService) {
                this.workerLeaseService = workerLeaseService;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top