Package org.assertj.core.internal
Class Diff
- java.lang.Object
-
- org.assertj.core.internal.Diff
-
public class Diff extends Object
Compares the contents of two files, inputStreams or paths.- 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 List<Delta<String>>
diff(File actual, String expected, Charset charset)
List<Delta<String>>
diff(File actual, Charset actualCharset, File expected, Charset expectedCharset)
List<Delta<String>>
diff(InputStream actual, InputStream expected)
List<Delta<String>>
diff(Path actual, String expected, Charset charset)
List<Delta<String>>
diff(Path actual, Charset actualCharset, Path expected, Charset expectedCharset)
-
-
-
Method Detail
-
diff
public List<Delta<String>> diff(InputStream actual, InputStream expected) throws IOException
- Throws:
IOException
-
diff
public List<Delta<String>> diff(File actual, Charset actualCharset, File expected, Charset expectedCharset) throws IOException
- Throws:
IOException
-
diff
public List<Delta<String>> diff(Path actual, Charset actualCharset, Path expected, Charset expectedCharset) throws IOException
- Throws:
IOException
-
diff
public List<Delta<String>> diff(File actual, String expected, Charset charset) throws IOException
- Throws:
IOException
-
diff
public List<Delta<String>> diff(Path actual, String expected, Charset charset) throws IOException
- Throws:
IOException
-
-