Package org.assertj.core.internal
Class Diff
java.lang.Object
org.assertj.core.internal.Diff
Compares the contents of two files, inputStreams or paths.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiff
(BufferedReader actual, BufferedReader expected) diff
(InputStream actual, InputStream expected) diff
(InputStream actual, String expected) private BufferedReader
readerFor
(InputStream stream) private BufferedReader
-
Constructor Details
-
Diff
public Diff()
-
-
Method Details
-
diff
- Throws:
IOException
-
diff
- 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
- Throws:
IOException
-
diff
- Throws:
IOException
-
readerFor
-
readerFor
-
diff
- Throws:
IOException
-
linesFromBufferedReader
- Throws:
IOException
-