Class MvnTestOutput_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.MvnTestOutput_1_0
All Implemented Interfaces:
com.gradle.scan.eventmodel.EventData

@MavenVersion(since="3.3.1") @MavenExtensionVersion(since="1.10") public class MvnTestOutput_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 MvnTestOutput_1_0 events may be published.

  • Field Summary

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

    Constructors
    Constructor
    Description
    MvnTestOutput_1_0(long goalId, long testId, 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

    • goalId

      public final long goalId
      The ID of the goal execution that executed the test.
    • testId

      public final long testId
      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

    • MvnTestOutput_1_0

      public MvnTestOutput_1_0(long goalId, long testId, String message, boolean stdErr)
  • Method Details