|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.id.test.AssertIO
public class AssertIO
Assert class for IO operations.
Note: This class is intented to be moved to a commons-test component later.
| Constructor Summary | |
|---|---|
AssertIO()
|
|
| Method Summary | |
|---|---|
static void |
assertFileEquals(java.io.File expected,
java.io.File current)
Assert two files to have equal content. |
static void |
assertFileEquals(java.lang.String message,
java.io.File expected,
java.io.File current)
Assert two files to have equal content. |
static void |
assertInputStreamEquals(java.io.InputStream expected,
java.io.InputStream current)
Assert two input streams to deliver equal content. |
static void |
assertInputStreamEquals(java.lang.String message,
java.io.InputStream expected,
java.io.InputStream current)
Assert two input streams to deliver equal content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AssertIO()
| Method Detail |
|---|
public static void assertFileEquals(java.io.File expected,
java.io.File current)
expected - reference filecurrent - file to compare
public static void assertFileEquals(java.lang.String message,
java.io.File expected,
java.io.File current)
message - the error messageexpected - reference filecurrent - file to compare
public static void assertInputStreamEquals(java.io.InputStream expected,
java.io.InputStream current)
expected - reference inputcurrent - input to compare
public static void assertInputStreamEquals(java.lang.String message,
java.io.InputStream expected,
java.io.InputStream current)
message - the error messageexpected - reference inputcurrent - input to compare
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||