Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,755 for TASK (0.2 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

        def "circular dependency detected with complex finalizedBy cycle in the graph"() {
            buildFile """
                task a
                task b
                task c
                task d
                task e
                task f
    
                a.dependsOn b
                b.dependsOn c
                b.finalizedBy d
                d.dependsOn f
                e.dependsOn d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Start the task to put it in the RUNNING state.  Have to use a separate
        // thread because the task will block on the task latch after unblocking
        // the run latch.
        exec.execute(task);
        runLatch.await();
        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. platforms/software/reporting/src/integTest/groovy/org/gradle/api/reporting/internal/TaskReportContainerIntegTest.groovy

                    TestTaskReportContainer(Task task) {
                        super(Report, task, CollectionCallbackActionDecorator.NOOP)
                        add(TaskGeneratedSingleFileReport, "file1", task)
                        add(TaskGeneratedSingleFileReport, "file2", task)
                        add(TaskGeneratedSingleDirectoryReport, "dir1", task, null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TaskContainerDslIntegrationTest.kt

            testTaskContainerVia(
                "api",
                script = """
    
                val t1: Task = tasks.getByName("foo")
                val t2: Task = tasks.getByName("foo", Task::class)
                val t3: Task = tasks.getByName<Task>("foo")
    
                val t4: Task = tasks.getByName("bar") {
                    description += "A"
                }
                val t5: Copy = tasks.getByName("bar", Copy::class) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
        assertFalse(task.isDone());
        task.run();
        assertTrue(task.isDone());
        assertFalse(task.isCancelled());
        assertEquals(2, getDone(task).intValue());
      }
    
      public void testCancelled() throws Exception {
        TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create(returning(2));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AbstractTaskTest.groovy

            expect:
            task.getOnlyIf().isSatisfiedBy(task)
    
            when:
            task.onlyIf(spec)
    
            then:
            !task.getOnlyIf().isSatisfiedBy(task)
        }
    
        def "can specify onlyIf predicate using description and spec"() {
            given:
            final task = getTask()
            final Spec<Task> spec = Mock(Spec.class)
            spec.isSatisfiedBy(task) >> false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildContinueOnSingleFailureIntegrationTest.groovy

        def "continues build when delegated task fails when run with --continue"() {
            when:
            buildA.buildFile << """
        task delegateWithFailure {
            dependsOn gradle.includedBuild('buildB').task(':fails')
        }
        task delegateWithSuccess {
            dependsOn gradle.includedBuild('buildB').task(':succeeds')
        }
        task delegate {
            dependsOn delegateWithSuccess, delegateWithFailure
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                import org.gradle.api.DefaultTask;
                import org.gradle.api.Task;
    
                public class BrokenTask extends DefaultTask {
                    public BrokenTask() {
                        doFirst(new Action<Task>() {
                            public void execute(Task task) {
                                throw new RuntimeException("broken action");
                            }
                        });
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/integTest/resources/org/gradle/internal/logging/LoggingIntegrationTest/logging/custom-logger-init.gradle

        }
    
        public void beforeExecute(Task task) {
            logger.lifecycle("LOGGER: executing $task.path")
        }
    
        public void afterExecute(Task task, TaskState state) {
            logger.info("LOGGER: executed task $task.path")
        }
    
        public void beforeActions(Task task) {
            logger.info("LOGGER: task $task.path starting work")
        }
    
        public void afterActions(Task task) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            events.tests.size() == (supportsEfficientClassFiltering() ? 8 : 12)
    
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            assertTestNotExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top