public interface MasterProcessChannelEncoder
Modifier and Type | Method and Description |
---|---|
void |
acquireNextTest()
The provider acquires a new test set to run.
|
void |
bye()
Say BYE on exit.
|
boolean |
checkError() |
void |
consoleDebugLog(String msg)
Debug log.
|
void |
consoleErrorLog(StackTraceWriter stackTraceWriter,
boolean trimStackTraces)
Error log.
|
void |
consoleErrorLog(String msg)
Error log.
|
void |
consoleErrorLog(String msg,
Throwable t)
Error log.
|
void |
consoleErrorLog(Throwable t)
Error log.
|
void |
consoleInfoLog(String msg)
Info log.
|
void |
consoleWarningLog(String msg)
Warning log.
|
void |
onJvmExit()
Called on JVM exit error.
|
void |
sendExitError(StackTraceWriter stackTraceWriter,
boolean trimStackTraces)
ForkedBooter tear down has failed while waiting for BYE_ACK command.
|
void |
stopOnNextTest()
The provider wants to stop the progress.
|
void |
testAssumptionFailure(ReportEntry reportEntry,
boolean trimStackTraces)
The test assumption failure.
|
void |
testError(ReportEntry reportEntry,
boolean trimStackTraces)
The test error.
|
void |
testFailed(ReportEntry reportEntry,
boolean trimStackTraces)
The test has failed.
|
void |
testOutput(TestOutputReportEntry reportEntry)
Test output, a line or characters.
|
void |
testSetCompleted(TestSetReportEntry reportEntry,
boolean trimStackTraces)
The test set has finished.
|
void |
testSetStarting(TestSetReportEntry reportEntry,
boolean trimStackTraces)
The test set has started.
|
void |
testSkipped(ReportEntry reportEntry,
boolean trimStackTraces)
The test is skipped.
|
void |
testStarting(ReportEntry reportEntry,
boolean trimStackTraces)
The test has started.
|
void |
testSucceeded(ReportEntry reportEntry,
boolean trimStackTraces)
The test has succeeded.
|
boolean checkError()
true
if the encoder's stream has got an errorvoid onJvmExit()
void testSetStarting(TestSetReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testSetCompleted(TestSetReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testStarting(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testSucceeded(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testFailed(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testSkipped(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testError(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testAssumptionFailure(ReportEntry reportEntry, boolean trimStackTraces)
reportEntry
- test set report entrytrimStackTraces
- true
if stack trace trimmingvoid testOutput(TestOutputReportEntry reportEntry)
reportEntry
- std/out or std/err contextvoid consoleInfoLog(String msg)
msg
- message of info loggervoid consoleErrorLog(String msg)
msg
- message of error loggervoid consoleErrorLog(Throwable t)
t
- exceptionvoid consoleErrorLog(String msg, Throwable t)
msg
- additional error messaget
- exceptionvoid consoleErrorLog(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
stackTraceWriter
- printable stack tracetrimStackTraces
- true
if selected trimmed stack trace to print into encoder channel/streamvoid consoleDebugLog(String msg)
msg
- message of debug loggervoid consoleWarningLog(String msg)
msg
- message of warning loggervoid bye()
void stopOnNextTest()
void acquireNextTest()
void sendExitError(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
stackTraceWriter
- printable stack tracetrimStackTraces
- true
if selected trimmed stack trace to print into encoder channel/streamCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.