- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for TestOutputEvent (0.32 sec)
-
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/tasks/testing/TestOutputEvent.java
* limitations under the License. */ package org.gradle.api.tasks.testing; /** * Standard output or standard error message logged during the execution of the test */ public interface TestOutputEvent { /** * Destination of the message */ Destination getDestination(); /** * Message content */ String getMessage(); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/TestOutputEvent.java
* <p> * A new test output event instance is created for each line of text printed by the test. * * @since 6.0 */ public interface TestOutputEvent extends ProgressEvent { @Override TestOutputDescriptor getDescriptor();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/BuildableTestResultsProvider.groovy
long testId TestOutputEvent testOutputEvent BuildableOutputEvent(long testId, TestOutputEvent testOutputEvent) { this.testId = testId this.testOutputEvent = testOutputEvent } } class BuildableTestClassResult extends TestClassResult { List<BuildableOutputEvent> outputEvents = [] long duration = 1000
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy
events.find { TestOutputEvent event -> event.descriptor.message == "err1" && event.descriptor.destination == Destination.StdErr } events.find { TestOutputEvent event -> event.descriptor.message == "out2" && event.descriptor.destination == Destination.StdOut } events.find { TestOutputEvent event -> event.descriptor.message == "err2" && event.descriptor.destination == Destination.StdErr } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProviderTest.groovy
1 * provider1.writeTestOutput(12, 11, TestOutputEvent.Destination.StdOut, writer) 1 * provider1.writeNonTestOutput(12, TestOutputEvent.Destination.StdOut, writer) when: provider.hasOutput(2, TestOutputEvent.Destination.StdOut) provider.writeAllOutput(2, TestOutputEvent.Destination.StdOut, writer) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/BinaryResultBackedTestResultsProvider.java
} }); return hasOutput[0]; } @Override public boolean hasOutput(long classId, long testId, TestOutputEvent.Destination destination) { return false; } @Override public void writeAllOutput(final long classId, final TestOutputEvent.Destination destination, final Writer writer) { withReader(new Action<TestOutputStore.Reader>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/TestOutputRedirector.java
this.redirector = redirector; this.outForwarder = new Forwarder(processor, TestOutputEvent.Destination.StdOut); this.errForwarder = new Forwarder(processor, TestOutputEvent.Destination.StdErr); } public void startRedirecting() { assert outForwarder.outputOwner != null; assert errForwarder.outputOwner != null; redirector.redirectStandardOutputTo(outForwarder);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/AggregateTestResultsProvider.java
public void writeNonTestOutput(long classId, TestOutputEvent.Destination destination, Writer writer) { for (DelegateProvider delegateProvider : classOutputProviders.get(classId)) { delegateProvider.provider.writeNonTestOutput(delegateProvider.id, destination, writer); } } @Override public void writeTestOutput(long classId, long testId, TestOutputEvent.Destination destination, Writer writer) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.2K bytes - Viewed (0) -
platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestResultsProvider.java
* * Writes all output for the test class. */ void writeAllOutput(long classId, TestOutputEvent.Destination destination, Writer writer); void writeNonTestOutput(long classId, TestOutputEvent.Destination destination, Writer writer); /** * Writes the output of the given test to the given writer. This method must be called only after {@link #visitClasses(org.gradle.api.Action)}.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/internal/DefaultTestOutputEvent.java
package org.gradle.tooling.events.test.internal; import org.gradle.tooling.events.test.TestOutputDescriptor; import org.gradle.tooling.events.test.TestOutputEvent; /** * Implementation of the {@code TestOutputEvent} interface. */ public final class DefaultTestOutputEvent implements TestOutputEvent { private final long eventTime; private final TestOutputDescriptor descriptor;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.5K bytes - Viewed (0)