- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 5,220 for onOutput (0.14 sec)
-
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/StreamingStyledTextOutputTest.groovy
StreamingStyledTextOutput output = new StreamingStyledTextOutput(listener) when: output.text('text') then: 1 * listener.onOutput('text') } def forwardsTextToAnAppendable() { Appendable appendable = Mock() StreamingStyledTextOutput output = new StreamingStyledTextOutput(appendable) when: output.text('text') then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/operations/logging/LoggingBuildOperationProgressBroadcasterTest.groovy
when: bridge.onOutput(eventWithBuildOperationId) then: 1 * buildOperationProgressEventEmitter.emit(_, _, _) >> { OperationIdentifier operationIdentifier, long timestamp, Object details -> assert operationIdentifier == testOperationId assert details == eventWithBuildOperationId } when: bridge.onOutput(eventWithFallbackBuildOperationId)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 4.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollector.java
} TestMethodResult methodResult = currentTestMethods.get(testDescriptor); if (methodResult == null) { outputWriter.onOutput(classResult.getId(), outputEvent); } else { outputWriter.onOutput(classResult.getId(), methodResult.getId(), outputEvent); } } private static String findEnclosingClassName(TestDescriptor testDescriptor) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestListenerIntegrationTest.groovy
useJUnitJupiter() } } } tasks.test { onOutput( KotlinClosure2<TestDescriptor, TestOutputEvent, Any>({ descriptor, event -> println("onOutput:" + descriptor.displayName + ":" + event.message) }) ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/LogEventDispatcher.java
this.stdoutChain = stdoutChain; this.stderrChain = stderrChain; } @Override public void onOutput(OutputEvent event) { if (event.getLogLevel() == null) { dispatch(event, stdoutChain); dispatch(event, stderrChain); } else if (event.getLogLevel() == LogLevel.ERROR) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/FlushConsoleListener.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/internal/daemon/clientinput/ClientInputForwarder.java
public <T> T forwardInput(Function<StdinHandler, T> action) { final StdInStream stdInStream = new StdInStream(new OutputEventListener() { @Override public void onOutput(OutputEvent event) { eventDispatch.onOutput(event); } }); inputReader.startInput(); StdinHandler stdinHandler = new StdinHandler() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java
@Override public void onOutput(CharSequence output) { } } private static class WriteAction implements TextStream { private OutputListener destination; @Override public void text(String message) { destination.onOutput(message); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandler.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/StandardOutputListener.java
/** * <p>A {@code StandardOutputListener} receives text written by Gradle's logging system to standard output or * error.</p> */ public interface StandardOutputListener { /** * Called when some output is written by the logging system. * * @param output The text. */ void onOutput(CharSequence output);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 984 bytes - Viewed (0)