Class TestOutput_1_0

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData

    @GradleVersion(since="2.5")
    @PluginVersion(since="1.0")
    public class TestOutput_1_0
    extends Object
    implements com.gradle.scan.eventmodel.EventData
    An EventData that is published when a test writes to the standard output or standard error during test execution.

    The test output is only captured if the test that produced the output fails, or, in case of a flaky test, for the first successful execution of the test after a failed execution.

    Zero or more TestOutput_1_0 events may be published.

    • Field Detail

      • task

        public final long task
        The id of the task that executed the test.
      • owner

        public final long owner
        The id of the owning test.
      • message

        public final String message
        The message content.
      • stdErr

        public final boolean stdErr
        Whether the output's destination was the standard error output stream.
    • Constructor Detail

      • TestOutput_1_0

        public TestOutput_1_0​(long task,
                              long owner,
                              String message,
                              boolean stdErr)