Class TestOutput_1_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.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 Summary

    Fields
    Modifier and Type
    Field
    Description
    final String
    The message content.
    final long
    The id of the owning test.
    final boolean
    Whether the output's destination was the standard error output stream.
    final long
    The id of the task that executed the test.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestOutput_1_0(long task, long owner, String message, boolean stdErr)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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 Details

    • TestOutput_1_0

      public TestOutput_1_0(long task, long owner, String message, boolean stdErr)
  • Method Details