Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,454 for task3 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

                    dependsOn('task3')
                }
                tasks.register('task3') {
                    dependsOn gradle.includedBuild('theNameOfBuildA').task(':task4')
                }
            """
    
            when:
            execute(buildA, 'task1')
    
            then:
            result.assertTasksExecuted(':task4', ':buildB:task3', ':buildB:task2', ':task1')
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/kotlin/build.gradle.kts

    repeat(4) { counter ->
        tasks.register("task$counter") {
            doLast {
                println("I'm task number $counter")
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 196 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/dynamicDepends/groovy/build.gradle

    4.times { counter ->
        tasks.register("task$counter") {
            doLast {
                println "I'm task number $counter"
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 193 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            then:
            def task = project.tasks.target1
            task instanceof AntTarget
            task.target.name == 'target1'
    
            and:
            def task2 = project.tasks.target2
            task2 instanceof AntTarget
            task2.target.name == 'target2'
    
            and:
            def task3 = project.tasks.target3
            task3 instanceof AntTarget
            task3.target.name == 'target3'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
Back to top