Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,734 for taskY (0.05 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                }
                tasks.named("task1").configure {
                    println "Configure again ${path}"
                }
                tasks.register("task2", SomeOtherTask) {
                    println "Configure ${path}"
                }
                tasks.register("task3")
                tasks.configureEach {
                    println "Received ${path}"
                }
                tasks.create("other") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DefaultCompositeFileTreeTest.groovy

            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def tree1 = Stub(FileTreeInternal)
            def tree2 = Stub(FileTreeInternal)
    
            given:
            tree1.visitDependencies(_) >> { TaskDependencyResolveContext context ->
                context.add(task1)
                context.add(task2)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/TaskNameResolvingBuildTaskSchedulerSpec.groovy

            then:
            0 * executionPlan._
        }
    
        def "expand task parameters to tasks"() {
            def startParameters = Mock(StartParameterInternal)
            TaskExecutionRequest request1 = Stub(TaskExecutionRequest)
            TaskExecutionRequest request2 = Stub(TaskExecutionRequest)
            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def selection1 = Stub(TaskSelection)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanTest.groovy

            given:
            Task a = task("a")
            Task b = task("b")
            Task c = task("c")
            Task d = task("d", dependsOn: [b, a, c])
    
            when:
            addToGraphAndPopulate([d])
    
            then:
            executes(a, b, c, d)
        }
    
        def "schedules a single batch of tasks in name order"() {
            given:
            Task a = task("a")
            Task b = task("b")
            Task c = task("c")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  5. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/SingleProjectTaskReportModelTest.groovy

            def task3 = task('task3')
            def task4 = task('task4', task2)
            def task5 = task('task5', task3, task4)
    
            when:
            def model = modelFor([task1, task2, task3, task4, task5])
    
            then:
            model.groups == ['group', ''] as Set
            def tasks = model.getTasksForGroup('') as List
            tasks*.path == [pathOf(task1), pathOf(task3), pathOf(task4), pathOf(task5)]
            def t = tasks.first()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 17:20:29 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                }
    
                task secondTask(type: MultipleWorkItemTask) {
                    doLast { submitWorkItem("task2") }
                }
    
                task allTasks {
                    dependsOn firstTask, secondTask
                }
            """
    
            blockingHttpServer.expectConcurrent("task1-1", "task2")
            blockingHttpServer.expectConcurrent("task1-2")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/publish/DefaultPublishArtifactTest.groovy

    import org.gradle.api.Task
    
    public class DefaultPublishArtifactTest extends AbstractPublishArtifactTest {
    
        def "init"() {
            given:
            def task1 = Mock(Task)
            def task2 = Mock(Task)
    
            when:
            def publishArtifact = new DefaultPublishArtifact(testName, testExt, testType,
                    testClassifier, date, testFile, task1, task2)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 24 15:34:51 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/AbstractWorkerExecutorIntegrationTest.groovy

        }
    
        void assertSameDaemonWasUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text == outputFileDir.file(task2).file(it).text
            }
        }
    
        void assertDifferentDaemonsWereUsed(String task1, String task2) {
            fixture.list.each {
                assert outputFileDir.file(task1).file(it).text != outputFileDir.file(task2).file(it).text
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/execution/commandline/CommandLineTaskParserSpec.groovy

        def taskConfigurer = Mock(CommandLineTaskConfigurer)
        def task = Mock(Task)
        def task2 = Mock(Task)
        def task3 = Mock(Task)
        def parser = new CommandLineTaskParser(taskConfigurer, selector, defaultBuild)
    
        def setup() {
            taskConfigurer.configureTasks(_, _) >> { args -> args[1] }
        }
    
        def "parses a single task selector"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 05 22:49:56 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDependencyInferenceIntegrationTest.groovy

            buildFile << """
                def taskA = tasks.create("a", FileProducer) {
                    // no output value
                }
                def taskB = tasks.create("b", FileProducer) {
                    // no output value
                }
                tasks.register("c") {
                    dependsOn taskA.output.orElse(taskB.output)
                }
            """
    
            when:
            run("c")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 04 14:20:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top