Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 464 for finishes (0.13 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/DefaultCancellableOperationManagerTest.groovy

                        instant.cancelled
                    }
                    thread.blockUntil.cancelled
                }
                instant.finished
            }
    
            thread.blockUntil.started
            writeEnd.close()
            thread.blockUntil.finished
    
            then:
            cancellationToken.isCancellationRequested()
            executorService.shutdownNow().empty
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/task/TaskFinishEvent.java

    import org.gradle.tooling.events.FinishEvent;
    
    /**
     * An event that informs about a task having finished its execution. You can query the result of the task using {@link #getResult()}.
     *
     * @since 2.5
     */
    public interface TaskFinishEvent extends TaskProgressEvent, FinishEvent {
    
        /**
         * Returns the result of the finished task operation. Currently, the result will be one of the following sub-types:
         *
         * <ul>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputReader.java

        private UserInput pending;
        private boolean finished;
    
        @Override
        public void startInput() {
            synchronized (lock) {
                pending = null;
                finished = false;
            }
        }
    
        @Override
        public void putInput(UserInput input) {
            synchronized (lock) {
                if (input == END_OF_INPUT) {
                    finished = true;
                    lock.notifyAll();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkQueueIntegrationTest.groovy

                        workQueue1.await()
    
                        signal("finished")
                    }
                }
            """
    
            def started = blockingHttpServer.expectConcurrentAndBlock("item1", "item2", "item3", "submitted")
            def finished = blockingHttpServer.expectConcurrentAndBlock("finished")
    
            when:
            def gradle = executer.withTasks("runWork").start()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. src/testing/run_example.go

    		}
    		outC <- buf.String()
    	}()
    
    	finished := false
    	start := time.Now()
    
    	// Clean up in a deferred call so we can recover if the example panics.
    	defer func() {
    		timeSpent := time.Since(start)
    
    		// Close pipe, restore stdout, get output.
    		w.Close()
    		os.Stdout = stdout
    		out := <-outC
    
    		err := recover()
    		ok = eg.processRunResult(out, timeSpent, finished, err)
    	}()
    
    	// Run example.
    	eg.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/DefaultBuildOperationLoggerTest.groovy

            4 * logger.log(ERROR, "<output>")
            1 * logger.log(INFO, "Finished <testTask>, see full log $pathToLogStr.")
    
            logOutput() == """See $pathToLogStr for all output for <testTask>.
    <operation> failed.
    <output>
    <operation> failed.
    <output>
    <operation> failed.
    <output>
    <operation> failed.
    <output>
    Finished <testTask>, see full log $pathToLogStr.
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/async/ServiceLifecycleTest.groovy

                        instant.running
                        thread.block()
                        instant.finished
                    }
                }
                thread.blockUntil.running
                lifecycle.stop()
                instant.stopped
            }
    
            then:
            instant.finished < instant.stopped
        }
    
        def "multiple threads can call stop() concurrently"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r86/StreamingBuildActionCrossVersionTest.groovy

            when:
            def models = new CopyOnWriteArrayList<Object>()
            def finished = new CountDownLatch(1)
            def listener = { model -> models.add(model) } as StreamedValueListener
            def handler = { model ->
                models.add(model)
                finished.countDown()
            } as ResultHandler
    
            withConnection {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:20:59 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonStopClientTest.groovy

            1 * connection.dispatch({it instanceof Finished})
            1 * connection.stop()
    
            and:
            1 * connector.maybeConnect(daemon2) >>> connection
            _ * connection.daemon >> daemon2
            1 * connection.dispatch({it instanceof StopWhenIdle})
            1 * connection.receive() >> new Success(null)
            1 * connection.dispatch({it instanceof Finished})
            1 * connection.stop()
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/configuration/project/DelayedConfigurationActionsTest.groovy

        def "runs actions and discards actions when finished"() {
            def action1 = Mock(Action)
            def action2 = Mock(Action)
    
            given:
            container.actions >> [action1, action2]
    
            when:
            action.execute(project)
    
            then:
            1 * action1.execute(project)
            1 * action2.execute(project)
    
            and:
            1 * container.finished()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 22:54:35 UTC 2013
    - 1.9K bytes
    - Viewed (0)
Back to top