|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fest.assertions.internal.InputStreams
public class InputStreams
Reusable assertions for s.
InputStream
| Method Summary | |
|---|---|
void |
assertEqualContent(AssertionInfo info,
InputStream actual,
InputStream expected)
Asserts that the given InputStreams have equal content. |
static InputStreams |
instance()
Returns the singleton instance of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static InputStreams instance()
public void assertEqualContent(AssertionInfo info,
InputStream actual,
InputStream expected)
info - contains information about the assertion.actual - the "actual" InputStream.expected - the "expected" InputStream.
NullPointerException - if expected is null.
AssertionError - if actual is null.
AssertionError - if the given InputStreams do not have equal content.
InputStreamsException - if an I/O error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||