- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 5,220 for onOutput (0.13 sec)
-
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java
} } @Override public void close() { output.close(); writeIndex(); } public void onOutput(long classId, TestOutputEvent outputEvent) { onOutput(classId, 0, outputEvent); } public void onOutput(long classId, long testId, TestOutputEvent outputEvent) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/slf4j/OutputEventListenerBackedLogger.java
OutputEventListener outputEventListener = context.getOutputEventListener(); try { outputEventListener.onOutput(logEvent); } catch (Throwable e) { // fall back to standard out e.printStackTrace(System.out); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/results/TestListenerAdapter.java
testListener.afterSuite(test, result); } else { testListener.afterTest(test, result); } } @Override public void output(TestDescriptorInternal test, TestOutputEvent event) { testOutputListener.onOutput(test, event); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/StreamingStyledTextOutput.java
private final Closeable closeable; /** * Creates a text output which forwards text to the given listener. * @param listener The listener. */ public StreamingStyledTextOutput(StandardOutputListener listener) { this(listener, listener); } /** * Creates a text output which writes text to the given appendable. * @param appendable The appendable. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirectorTest.groovy
redirector.errForwarder.outputOwner == "2" } def "passes output events"() { def f = new TestOutputRedirector.Forwarder(processor, TestOutputEvent.Destination.StdErr) f.outputOwner = "5" when: f.onOutput("ala") then: 1 * processor.output("5", { DefaultTestOutputEvent e -> e.destination == TestOutputEvent.Destination.StdErr
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/WorkInProgressRenderer.java
} @Override public void onOutput(OutputEvent event) { queue.add(event); if (event instanceof UpdateNowEvent) { renderNow(); } else if (event instanceof EndOutputEvent) { progressArea.setVisible(false); } listener.onOutput(event); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 9.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractLoggingHooksFunctionalTest.groovy
System.err.println "before" def output = new CollectingListener() def error = new CollectingListener() logging.addStandardOutputListener(output) logging.addStandardErrorListener(error) System.out.println "output 1" assert output.toString().readLines() == ["output 1"] System.err.println "error 1"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/services/LoggingBackedStyledTextOutput.java
spans.add(new StyledTextOutputEvent.Span(this.style, buffer.toString())); buffer.setLength(0); OperationIdentifier buildOperationId = CurrentBuildOperationRef.instance().getId(); listener.onOutput(new StyledTextOutputEvent(clock.getCurrentTime(), category, logLevel, buildOperationId, spans)); spans = new ArrayList<StyledTextOutputEvent.Span>(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy
private final TestStyledTextOutput output = new TestStyledTextOutput() def onOutputWritesText() { when: output.onOutput('some message') then: output.value == 'some message' } def writesNullText() { when: output.text(null) then: output.value == 'null' } def writesEndOfLine() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java
} @Override public void onOutput(CharSequence output) { if (outputOwner == null) { throw new RuntimeException("Unable send output event from test executor. Please report this problem. Destination: " + dest + ", event: " + output.toString()); } processor.output(outputOwner, new DefaultTestOutputEvent(dest, output.toString())); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.7K bytes - Viewed (0)