Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for allTasks (0.15 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/TasksFactory.java

        Map<Project, Set<Task>> allTasks;
        private final boolean includeTasks;
    
        public TasksFactory(boolean includeTasks) {
            this.includeTasks = includeTasks;
        }
    
        public void collectTasks(Project root) {
            allTasks = root.getAllTasks(true);
        }
    
        public Set<Task> getTasks(Project project) {
            if (includeTasks) {
                return allTasks.get(project);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        List<Callable<?>> allTasks = new ArrayList<>();
        allTasks.add(completeSuccessfullyRunnable);
        allTasks.add(completeExceptionallyRunnable);
        allTasks.add(cancelRunnable);
        allTasks.add(setFutureCompleteSuccessfullyRunnable);
        allTasks.add(setFutureCompleteExceptionallyRunnable);
        allTasks.add(setFutureCancelRunnable);
        for (int k = 0; k < 50; k++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleVerboseRenderingFunctionalTest.groovy

                }
            """
            buildFile << """
                task allTasks
    
                12.times { i ->
                    project(":project\${i}") {
                        task "slowTask\${i}" {
                            doLast {
                                sleep 2000 + (1000*(i%2))
                            }
                        }
    
                        rootProject.allTasks.dependsOn ":project\${i}:slowTask\${i}"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/TasksFactoryTest.groovy

            when:
            factory.allTasks = [:]
            factory.allTasks.put(project, [task] as Set)
            def tasks = factory.getTasks(project)
    
            then:
            tasks.empty
        }
    
        def "returns tasks"() {
            TasksFactory factory = new TasksFactory(true)
    
            when:
            factory.allTasks = [:]
            factory.allTasks.put(project, [task] as Set)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

              }
            };
        List<Callable<?>> allTasks = new ArrayList<>();
        allTasks.add(completeSuccessfullyRunnable);
        allTasks.add(completeExceptionallyRunnable);
        allTasks.add(cancelRunnable);
        allTasks.add(setFutureCompleteSuccessfullyRunnable);
        allTasks.add(setFutureCompleteExceptionallyRunnable);
        allTasks.add(setFutureCancelRunnable);
        for (int k = 0; k < 50; k++) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorParallelIntegrationTest.groovy

                    doLast { submitWorkItem("task2") }
                }
    
                task allTasks {
                    dependsOn firstTask, secondTask
                }
            """
    
            blockingHttpServer.expectConcurrent("task1", "task2")
    
            expect:
            args("--max-workers=2")
            succeeds("allTasks")
        }
    
    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. platforms/software/maven/src/test/groovy/org/gradle/api/publish/maven/plugins/MavenPublishPluginTest.groovy

            project.tasks.withType(PublishToMavenLocal).sort { it.name }
        }
    
        List<PublishToMavenRepository> getPublishTasks() {
            def allTasks = project.tasks.withType(PublishToMavenRepository).sort { it.name }
            allTasks.removeAll(publishLocalTasks)
            return allTasks
        }
    
        def "publication coordinates are live"() {
            when:
            project.group = "group"
            project.version = "version"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/taskgraph/DefaultTaskExecutionGraphSpec.groovy

            taskGraph.hasTask(d)
            taskGraph.allTasks == [a, b, c, d]
        }
    
        def "get all tasks returns tasks in execution order"() {
            Task d = task("d")
            Task c = task("c")
            Task b = task("b", d, c)
            Task a = task("a", b)
    
            when:
            populate([a])
    
            then:
            taskGraph.allTasks == [c, d, b, a]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

        private final BuildOperationRunner buildOperationRunner;
        private final ListenerBuildOperationDecorator listenerBuildOperationDecorator;
        private FinalizedExecutionPlan executionPlan;
        private List<Task> allTasks = Collections.emptyList();
        private boolean hasFiredWhenReady;
    
        public DefaultTaskExecutionGraph(
            PlanExecutor planExecutor,
            List<NodeExecutor> nodeExecutors,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/fixtures/IdeCommandLineUtil.groovy

                            writer.close()
                        }
                    }
                    gradle.taskGraph.whenReady { taskGraph ->
                        taskGraph.allTasks.last().doLast {
                            if (!gradleEnvironment.exists()) {
                                throw new GradleException("could not determine if $ideCommandLineTool is using the correct environment, did $ideTaskName task run?")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top