public class LegacyMasterProcessChannelEncoder extends Object implements MasterProcessChannelEncoder
Modifier | Constructor and Description |
---|---|
|
LegacyMasterProcessChannelEncoder(WritableBufferedByteChannel out) |
protected |
LegacyMasterProcessChannelEncoder(WritableBufferedByteChannel out,
RunMode runMode) |
Modifier and Type | Method and Description |
---|---|
void |
acquireNextTest() |
MasterProcessChannelEncoder |
asNormalMode() |
MasterProcessChannelEncoder |
asRerunMode() |
void |
bye() |
boolean |
checkError() |
void |
consoleDebugLog(String msg) |
void |
consoleErrorLog(StackTraceWriter stackTraceWriter,
boolean trimStackTraces) |
void |
consoleErrorLog(String msg) |
void |
consoleErrorLog(String msg,
Throwable t) |
void |
consoleErrorLog(Throwable t) |
void |
consoleInfoLog(String msg) |
void |
consoleWarningLog(String msg) |
void |
onJvmExit() |
void |
sendExitError(StackTraceWriter stackTraceWriter,
boolean trimStackTraces) |
void |
sendSystemProperties(Map<String,String> sysProps) |
void |
stdErr(String msg,
boolean newLine) |
void |
stdOut(String msg,
boolean newLine) |
void |
stopOnNextTest() |
void |
testAssumptionFailure(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testError(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testFailed(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSetCompleted(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSetStarting(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSkipped(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testStarting(ReportEntry reportEntry,
boolean trimStackTraces) |
void |
testSucceeded(ReportEntry reportEntry,
boolean trimStackTraces) |
public LegacyMasterProcessChannelEncoder(@Nonnull WritableBufferedByteChannel out)
protected LegacyMasterProcessChannelEncoder(@Nonnull WritableBufferedByteChannel out, @Nonnull RunMode runMode)
public MasterProcessChannelEncoder asRerunMode()
asRerunMode
in interface MasterProcessChannelEncoder
public MasterProcessChannelEncoder asNormalMode()
asNormalMode
in interface MasterProcessChannelEncoder
public boolean checkError()
checkError
in interface MasterProcessChannelEncoder
public void onJvmExit()
onJvmExit
in interface MasterProcessChannelEncoder
public void sendSystemProperties(Map<String,String> sysProps)
sendSystemProperties
in interface MasterProcessChannelEncoder
public void testSetStarting(ReportEntry reportEntry, boolean trimStackTraces)
testSetStarting
in interface MasterProcessChannelEncoder
public void testSetCompleted(ReportEntry reportEntry, boolean trimStackTraces)
testSetCompleted
in interface MasterProcessChannelEncoder
public void testStarting(ReportEntry reportEntry, boolean trimStackTraces)
testStarting
in interface MasterProcessChannelEncoder
public void testSucceeded(ReportEntry reportEntry, boolean trimStackTraces)
testSucceeded
in interface MasterProcessChannelEncoder
public void testFailed(ReportEntry reportEntry, boolean trimStackTraces)
testFailed
in interface MasterProcessChannelEncoder
public void testSkipped(ReportEntry reportEntry, boolean trimStackTraces)
testSkipped
in interface MasterProcessChannelEncoder
public void testError(ReportEntry reportEntry, boolean trimStackTraces)
testError
in interface MasterProcessChannelEncoder
public void testAssumptionFailure(ReportEntry reportEntry, boolean trimStackTraces)
testAssumptionFailure
in interface MasterProcessChannelEncoder
public void stdOut(String msg, boolean newLine)
stdOut
in interface MasterProcessChannelEncoder
public void stdErr(String msg, boolean newLine)
stdErr
in interface MasterProcessChannelEncoder
public void consoleInfoLog(String msg)
consoleInfoLog
in interface MasterProcessChannelEncoder
public void consoleErrorLog(String msg)
consoleErrorLog
in interface MasterProcessChannelEncoder
public void consoleErrorLog(Throwable t)
consoleErrorLog
in interface MasterProcessChannelEncoder
public void consoleErrorLog(String msg, Throwable t)
consoleErrorLog
in interface MasterProcessChannelEncoder
public void consoleErrorLog(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
consoleErrorLog
in interface MasterProcessChannelEncoder
public void consoleDebugLog(String msg)
consoleDebugLog
in interface MasterProcessChannelEncoder
public void consoleWarningLog(String msg)
consoleWarningLog
in interface MasterProcessChannelEncoder
public void bye()
bye
in interface MasterProcessChannelEncoder
public void stopOnNextTest()
stopOnNextTest
in interface MasterProcessChannelEncoder
public void acquireNextTest()
acquireNextTest
in interface MasterProcessChannelEncoder
public void sendExitError(StackTraceWriter stackTraceWriter, boolean trimStackTraces)
sendExitError
in interface MasterProcessChannelEncoder
Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.