Package org.fest.assertions.internal
Class Diff
- java.lang.Object
-
- org.fest.assertions.internal.Diff
-
public class Diff extends java.lang.Object
Compares the contents of two files or two streams.- Author:
- David DIDIER, Alex Ruiz, Yvonne Wang, Matthieu Baechler, Olivier Michallat, Joel Costigliola
-
-
Constructor Summary
Constructors Constructor Description Diff()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
diff(java.io.File actual, java.io.File expected)
java.util.List<java.lang.String>
diff(java.io.File actual, java.lang.String expected, java.nio.charset.Charset charset)
java.util.List<java.lang.String>
diff(java.io.InputStream actual, java.io.InputStream expected)
-
-
-
Method Detail
-
diff
public java.util.List<java.lang.String> diff(java.io.InputStream actual, java.io.InputStream expected) throws java.io.IOException
- Throws:
java.io.IOException
-
diff
public java.util.List<java.lang.String> diff(java.io.File actual, java.io.File expected) throws java.io.IOException
- Throws:
java.io.IOException
-
diff
public java.util.List<java.lang.String> diff(java.io.File actual, java.lang.String expected, java.nio.charset.Charset charset) throws java.io.IOException
- Throws:
java.io.IOException
-
-