Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for TestOutputEvent (0.18 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestOutputListenerIntegrationTest.groovy

                    public void onOutput(TestDescriptor descriptor, TestOutputEvent event) {
                        logger.lifecycle(descriptor.toString() + " " + event.destination + " " + event.message);
                    }
                }
    
                class RemoveMeListener implements TestOutputListener {
                    public void onOutput(TestDescriptor descriptor, TestOutputEvent event) {
                        println "remove me!"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/results/TestListenerAdapter.java

    import org.gradle.api.internal.tasks.testing.TestDescriptorInternal;
    import org.gradle.api.internal.tasks.testing.TestStartEvent;
    import org.gradle.api.tasks.testing.TestListener;
    import org.gradle.api.tasks.testing.TestOutputEvent;
    import org.gradle.api.tasks.testing.TestOutputListener;
    import org.gradle.api.tasks.testing.TestResult;
    
    public class TestListenerAdapter implements TestListenerInternal {
        private final TestListener testListener;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/DefaultTestOutputEvent.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing;
    
    import org.gradle.api.tasks.testing.TestOutputEvent;
    import org.gradle.internal.scan.UsedByScanPlugin;
    
    @UsedByScanPlugin("test-distribution")
    public class DefaultTestOutputEvent implements TestOutputEvent {
    
        private final Destination destination;
        private final String message;
    
        @UsedByScanPlugin("test-distribution")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestResultProcessor.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks.testing;
    
    import org.gradle.api.tasks.testing.TestFailure;
    import org.gradle.api.tasks.testing.TestOutputEvent;
    import org.gradle.internal.scan.UsedByScanPlugin;
    
    /**
     * A processor for test results. Implementations are not required to be thread-safe.
     */
    @UsedByScanPlugin("test-distribution, test-retry")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestScraper.java

        private final TestOutputEvent.Destination destination;
        private final IdGenerator<?> idGenerator;
        private final Clock clock;
        private final String rootTestSuiteId;
        private final Deque<XCTestDescriptor> testDescriptors;
        private TestDescriptorInternal lastDescriptor;
        private StringBuilder textBuilder = new StringBuilder();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  6. 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)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/results/AttachParentTestResultProcessor.java

    import org.gradle.api.internal.tasks.testing.TestResultProcessor;
    import org.gradle.api.internal.tasks.testing.TestStartEvent;
    import org.gradle.api.tasks.testing.TestFailure;
    import org.gradle.api.tasks.testing.TestOutputEvent;
    
    public class AttachParentTestResultProcessor implements TestResultProcessor {
        private Object rootId;
        private final TestResultProcessor processor;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessor.java

    import org.gradle.api.internal.tasks.testing.redirector.TestOutputRedirector;
    import org.gradle.api.tasks.testing.TestFailure;
    import org.gradle.api.tasks.testing.TestOutputEvent;
    
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    
    /**
     * A {@link org.gradle.api.internal.tasks.testing.TestResultProcessor} which redirect stdout and stderr during the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/TestEventSerializerTest.groovy

        }
    
        def "serializes DefaultTestOutputEvent"() {
            def event = new DefaultTestOutputEvent(TestOutputEvent.Destination.StdErr, "hi")
    
            when:
            def result = serialize(event)
    
            then:
            result instanceof DefaultTestOutputEvent
            result.destination == TestOutputEvent.Destination.StdErr
            result.message == "hi"
        }
    
        def "serializes Throwable"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  10. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

                Deque<XCTestDescriptor> testDescriptors = new ArrayDeque<XCTestDescriptor>();
                TextStream stdOut = new XCTestScraper(TestOutputEvent.Destination.StdOut, resultProcessor, idGenerator, clock, rootTestSuiteId, testDescriptors);
                TextStream stdErr = new XCTestScraper(TestOutputEvent.Destination.StdErr, resultProcessor, idGenerator, clock, rootTestSuiteId, testDescriptors);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
Back to top