Class TestOutputReportEntry
java.lang.Object
org.apache.maven.surefire.api.report.TestOutputReportEntry
- All Implemented Interfaces:
OutputReportEntry
This report entry should be used in
TestOutputReceiver.writeTestOutput(OutputReportEntry)
.
-
Constructor Summary
ConstructorDescriptionTestOutputReportEntry
(String log, boolean isStdOut, boolean newLine, RunMode runMode, Long testRunId) Wraps the output from the running test-case.TestOutputReportEntry
(OutputReportEntry reportEntry, RunMode runMode, Long testRunId) -
Method Summary
Modifier and TypeMethodDescriptiongetLog()
boolean
boolean
isStdOut()
static TestOutputReportEntry
static TestOutputReportEntry
static OutputReportEntry
static TestOutputReportEntry
-
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 testsisStdOut
- Indicates if this is stdoutnewLine
- print on new linerunMode
- the phase of testsettestRunId
- unique id of the test run pointing to the test description
-
TestOutputReportEntry
-
-
Method Details
-
getLog
- Specified by:
getLog
in interfaceOutputReportEntry
-
isStdOut
public boolean isStdOut()- Specified by:
isStdOut
in interfaceOutputReportEntry
-
isNewLine
public boolean isNewLine()- Specified by:
isNewLine
in interfaceOutputReportEntry
-
getRunMode
-
getTestRunId
-
stdOut
-
stdOutln
-
stdErr
-
stdErrln
-