Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,406 for task3 (0.15 sec)

  1. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModelTest.groovy

            def task2 = taskDetails('a:task_A')
            def task3 = taskDetails('a:a:task_A')
            def task4 = taskDetails('B:task_A')
            def task5 = taskDetails('c:task_A')
            def task6 = taskDetails('b:task_a')
            def task7 = taskDetails('a:task_Abc')
            def task8 = taskDetails('task_b')
            _ * target.groups >> ['group']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 12:50:23 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  2. 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)
  3. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/internal/TaskReportRendererTest.groovy

    Group tasks
    -----------
    :task1 - task1Description
    :task2
    :task3
    
    Rules
    -----
    rule1Description
    rule2Description
    '''
        }
    
        def writesTasksForSingleGroup() {
            TaskDetails task = taskDetails(':task1')
    
            when:
            renderer.addDefaultTasks([])
            renderer.startTaskGroup('group')
            renderer.addTask(task)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 10 12:50:23 UTC 2020
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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/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)
Back to top