public abstract class PrintStreamLog
extends org.junit.rules.ExternalResource
| Modifier | Constructor and Description |
|---|---|
protected |
PrintStreamLog(LogMode mode) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
void |
clear()
Clears the log.
|
java.lang.String |
getLog()
Returns the text written to the standard error stream.
|
protected abstract java.io.PrintStream |
getOriginalStream() |
protected abstract void |
setStream(java.io.PrintStream wrappedLog) |
protected PrintStreamLog(LogMode mode)
protected void before()
throws java.lang.Throwable
before in class org.junit.rules.ExternalResourcejava.lang.Throwableprotected void after()
after in class org.junit.rules.ExternalResourceprotected abstract java.io.PrintStream getOriginalStream()
protected abstract void setStream(java.io.PrintStream wrappedLog)
public void clear()
public java.lang.String getLog()
Copyright © 2011-2015. All Rights Reserved.