public interface OutputReportEntry
OutputReportEntry, TestOutputReportEntry).
The interface TestReportListener handles these two events via generics depending on the situation.
OutputReportEntry from
System.out and System.err via the ConsoleOutputCapture. The ConsoleOutputCapture does
not have any notion about RunMode and testRunId, and therefore the only provider's listener
would add RunMode and testRunId to a recreated entry which would be finally propagated to the
ForkingRunListener and TestSetRunListener. The RunMode and testRunId
are determined upon the events test-started, test-finished and Thread local.
ForkingRunListener and TestSetRunListener handles
TestOutputReportEntry which contains RunMode and testRunId.| Modifier and Type | Method and Description |
|---|---|
String |
getLog() |
boolean |
isNewLine() |
boolean |
isStdOut() |
String getLog()
boolean isStdOut()
boolean isNewLine()
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.