|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream java.io.FilterOutputStream java.io.PrintStream com.mockobjects.io.MockPrintStream
Constructor Summary | |
MockPrintStream()
|
|
MockPrintStream(java.io.OutputStream out)
|
|
MockPrintStream(java.io.OutputStream out,
boolean autoFlush)
|
Method Summary | |
void |
becomeErrorStream()
|
void |
println(java.lang.Object anObject)
|
void |
println(java.lang.String aString)
|
void |
restoreErrorStream()
|
void |
setExpectedPrintlnCalls(int calls)
|
void |
setExpectedStringSegment(java.lang.String aString)
|
void |
verify()
|
Methods inherited from class java.io.PrintStream |
checkError, close, flush, print, print, print, print, print, print, print, print, print, println, println, println, println, println, println, println, println, write, write |
Methods inherited from class java.io.FilterOutputStream |
write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MockPrintStream()
public MockPrintStream(java.io.OutputStream out)
public MockPrintStream(java.io.OutputStream out, boolean autoFlush)
Method Detail |
public void becomeErrorStream()
public void println(java.lang.Object anObject)
public void println(java.lang.String aString)
public void restoreErrorStream()
public void setExpectedPrintlnCalls(int calls)
public void setExpectedStringSegment(java.lang.String aString)
public void verify()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |