public class SystemErrAndOutRule extends SystemErrAndOut implements SystemStubTestRule
| Constructor and Description |
|---|
SystemErrAndOutRule()
Default constructor - uses a
TapStream |
SystemErrAndOutRule(Output output)
Construct with a shared
Output |
SystemErrAndOutRule(OutputFactory<? extends OutputStream> outputFactory)
Construct with an output shared from the an output created against the
System.out original |
clear, getOutputStream, getText, setup, teardownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyexecute, setup, teardownexecutecloseOutput, factoryOfSelf, fromCloseableStream, fromStream, getLines, getLinesNormalized, getLinesNormalized, getOutputpublic SystemErrAndOutRule()
TapStreampublic SystemErrAndOutRule(Output output)
Outputoutput - the output both system err and out will write topublic SystemErrAndOutRule(OutputFactory<? extends OutputStream> outputFactory)
System.out originaloutputFactory - the output factory to create the outputCopyright © 2020–2023. All rights reserved.