Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,211 for task3 (0.05 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/build/PlannedNodeGraphTest.groovy

            dependsOn(task2, [task3])
            dependsOn(task3, [task4])
            dependsOn(transform1, [task4])
    
            when:
            collector.collectNodes([task1, task2, task3, task4, transform1])
            def graph = collector.getGraph()
            def nodes = graph.getNodes(PlannedNodeGraph.DetailLevel.LEVEL1_TASKS) as List<TestPlannedNode>
            then:
            nodes.size() == 4
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 21 13:11:56 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/AggregateMultiProjectTaskReportModelTest.groovy

            TaskDetails task3 = taskDetails(':sub:task')
            _ * task1.findTask(_) >> Mock(Task)
            _ * task2.findTask(_) >> Mock(Task)
            _ * task3.findTask(_) >> Mock(Task)
    
            TaskReportModel project1 = Mock()
            TaskReportModel project2 = Mock()
            _ * project1.groups >> (['group'] as LinkedHashSet)
            _ * project1.getTasksForGroup('group') >> ([task1, task2] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 31 16:45:11 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/UnionFileCollectionTest.groovy

            def task1 = Stub(Task)
            def task2 = Stub(Task)
            def task3 = Stub(Task)
            def source1 = Stub(FileCollectionInternal)
            def source2 = Stub(FileCollectionInternal)
    
            given:
            source1.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
    - 4.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultPublishArtifactSetTest.groovy

        def "set is built by the union of the tasks that build the publish artifacts"() {
            PublishArtifact artifact1 = Mock()
            PublishArtifact artifact2 = Mock()
            Task task1 = Mock()
            Task task2 = Mock()
            Task task3 = Mock()
    
            given:
            store.add(artifact1)
            store.add(artifact2)
            builtBy(artifact1, task1, task2)
            builtBy(artifact2, task1, task3)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr3_multi_project_builds.adoc

    }
    
    tasks.named<Test>("test") {
        useJUnitPlatform()
    }
    
    tasks.register("task3"){
        println("REGISTER TASK3: This is executed during the configuration phase")
    }
    
    tasks.named("task3"){
        println("NAMED TASK3: This is executed during the configuration phase")
        doFirst {
            println("NAMED TASK3 - doFirst: This is executed during the execution phase")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 17:16:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/test/groovy/org/gradle/execution/TaskNameResolverTest.groovy

            1 * tasks.names >> (['task1', 'task2'] as SortedSet)
            0 * tasks._
    
            when:
            def matches = asTasks(result['task1'])
    
            then:
            matches == [task1]
    
            and:
            1 * tasks.getByName('task1') >> task1
            0 * tasks._
        }
    
        def "lazily locates all tasks for multiple projects"() {
            given:
            def task1 = task('task1')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Oct 22 03:06:58 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskCreationIntegrationTest.groovy

            outputContains("Create :task2")
            outputContains("Configure :task2")
            result.assertNotOutput(":task1")
            result.assertNotOutput(":task3")
    
            when:
            run("task3")
    
            then:
            outputContains("Create :task3")
            result.assertNotOutput(":task1")
            result.assertNotOutput(":task2")
        }
    
        def "task is created and configured when referenced as a task dependency"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 13 09:05:07 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top