Class TestOutputReportEntry

java.lang.Object
org.apache.maven.surefire.api.report.TestOutputReportEntry
All Implemented Interfaces:
OutputReportEntry

public final class TestOutputReportEntry extends Object implements OutputReportEntry
This report entry should be used in TestOutputReceiver.writeTestOutput(OutputReportEntry).
  • Field Details

    • log

      private final String log
    • isStdOut

      private final boolean isStdOut
    • newLine

      private final boolean newLine
    • runMode

      private final RunMode runMode
    • testRunId

      private final Long testRunId
  • Constructor Details

    • TestOutputReportEntry

      public TestOutputReportEntry(String log, boolean isStdOut, boolean newLine, RunMode runMode, Long testRunId)
      Wraps the output from the running test-case.
      Parameters:
      log - stdout/sterr output from running tests
      isStdOut - Indicates if this is stdout
      newLine - print on new line
      runMode - the phase of testset
      testRunId - unique id of the test run pointing to the test description
    • TestOutputReportEntry

      private TestOutputReportEntry(String log, boolean isStdOut, boolean newLine)
      Wraps the output from the running test-case.
      Parameters:
      log - stdout/sterr output from running tests
      isStdOut - Indicates if this is stdout
      newLine - print on new line
    • TestOutputReportEntry

      public TestOutputReportEntry(OutputReportEntry reportEntry, RunMode runMode, Long testRunId)
  • Method Details