public final class TestOutputReportEntry extends Object implements OutputReportEntry
TestOutputReceiver.writeTestOutput(OutputReportEntry)
.
Constructor and Description |
---|
TestOutputReportEntry(OutputReportEntry reportEntry,
RunMode runMode,
Long testRunId) |
TestOutputReportEntry(String log,
boolean isStdOut,
boolean newLine,
RunMode runMode,
Long testRunId)
Wraps the output from the running test-case.
|
Modifier and Type | Method and Description |
---|---|
String |
getLog() |
RunMode |
getRunMode() |
Long |
getTestRunId() |
boolean |
isNewLine() |
boolean |
isStdOut() |
static TestOutputReportEntry |
stdErr(String log) |
static TestOutputReportEntry |
stdErrln(String log) |
static OutputReportEntry |
stdOut(String log) |
static TestOutputReportEntry |
stdOutln(String log) |
public TestOutputReportEntry(String log, boolean isStdOut, boolean newLine, RunMode runMode, Long testRunId)
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 descriptionpublic TestOutputReportEntry(OutputReportEntry reportEntry, RunMode runMode, Long testRunId)
public String getLog()
getLog
in interface OutputReportEntry
public boolean isStdOut()
isStdOut
in interface OutputReportEntry
public boolean isNewLine()
isNewLine
in interface OutputReportEntry
public RunMode getRunMode()
public Long getTestRunId()
public static OutputReportEntry stdOut(String log)
public static TestOutputReportEntry stdOutln(String log)
public static TestOutputReportEntry stdErr(String log)
public static TestOutputReportEntry stdErrln(String log)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.