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
ConstructorsConstructorDescriptionTestOutputReportEntry(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()booleanbooleanisStdOut()static TestOutputReportEntrystatic TestOutputReportEntrystatic OutputReportEntrystatic 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:
getLogin interfaceOutputReportEntry
-
isStdOut
public boolean isStdOut()- Specified by:
isStdOutin interfaceOutputReportEntry
-
isNewLine
public boolean isNewLine()- Specified by:
isNewLinein interfaceOutputReportEntry
-
getRunMode
-
getTestRunId
-
stdOut
-
stdOutln
-
stdErr
-
stdErrln
-