Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for TestOutputEvent (0.67 sec)

  1. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/TestOutputStore.java

                writeIndex();
            }
    
            public void onOutput(long classId, TestOutputEvent outputEvent) {
                onOutput(classId, 0, outputEvent);
            }
    
            public void onOutput(long classId, long testId, TestOutputEvent outputEvent) {
                boolean stdout = outputEvent.getDestination() == TestOutputEvent.Destination.StdOut;
                mark(classId, testId, stdout);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriter.java

                    writeOutputs(writer, classId, !options.outputPerTestCase, TestOutputEvent.Destination.StdOut);
                    writer.endElement();
                }
    
                if (options.includeSystemErrLog) {
                    writer.startElement("system-err");
                    writeOutputs(writer, classId, !options.outputPerTestCase, TestOutputEvent.Destination.StdErr);
                    writer.endElement();
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:57 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/StateTrackingTestResultProcessorTest.groovy

            TestDescriptor test2 = new DefaultTestDescriptor("1.1.2", "DogTest", "shouldLoiter");
    
            def woof = new DefaultTestOutputEvent(TestOutputEvent.Destination.StdOut, "woof woof!")
            def grrr = new DefaultTestOutputEvent(TestOutputEvent.Destination.StdErr, "grrr!")
    
            when:
            adapter.started(root, new TestStartEvent(1))
            adapter.started(suite, new TestStartEvent(1, '1'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/worker/TestEventSerializer.java

            private final Serializer<TestOutputEvent.Destination> destinationSerializer = new BaseSerializerFactory().getSerializerFor(TestOutputEvent.Destination.class);
    
            @Override
            public DefaultTestOutputEvent read(Decoder decoder) throws Exception {
                TestOutputEvent.Destination destination = destinationSerializer.read(decoder);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy

    import spock.lang.Issue
    import spock.lang.Specification
    
    import static java.util.Arrays.asList
    import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdErr
    import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdOut
    import static org.gradle.api.tasks.testing.TestResult.ResultType.FAILURE
    import static org.gradle.api.tasks.testing.TestResult.ResultType.SUCCESS
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/JUnitXmlResultWriterSpec.groovy

    import spock.lang.Issue
    import spock.lang.Specification
    
    import static java.util.Collections.emptyList
    import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdErr
    import static org.gradle.api.tasks.testing.TestOutputEvent.Destination.StdOut
    import static org.gradle.api.tasks.testing.TestResult.ResultType.FAILURE
    import static org.gradle.api.tasks.testing.TestResult.ResultType.SKIPPED
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:51:05 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

         * passed to the closure as a parameter.
         *
         * <pre class='autoTested'>
         * apply plugin: 'java'
         *
         * test {
         *    onOutput { descriptor, event -&gt;
         *        if (event.destination == TestOutputEvent.Destination.StdErr) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_5.adoc

    ==== New Tooling API progress event
    
    In Gradle 6.0, we introduced a new progress event (link:{javadocPath}/org/gradle/tooling/events/test/TestOutputEvent.html[org.gradle.tooling.events.test.TestOutputEvent]) to expose the output of test execution.
    This new event breaks the convention of having a `StartEvent`-`FinishEvent` pair to express progress.
    `TaskOutputEvent` is a simple `ProgressEvent`.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 03:01:48 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top