Class 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 Detail

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

      • MvnTestOutput_1_0

        public MvnTestOutput_1_0​(long goalId,
                                 long testId,
                                 String message,
                                 boolean stdErr)