Package org.assertj.core.internal
Class BinaryDiff
- java.lang.Object
-
- org.assertj.core.internal.BinaryDiff
-
public class BinaryDiff extends Object
Compares the binary content of two inputStreams/paths.- Author:
- Olivier Michallat
-
-
Constructor Summary
Constructors Constructor Description BinaryDiff()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryDiffResult
diff(File actual, byte[] expected)
BinaryDiffResult
diff(InputStream actualStream, InputStream expectedStream)
BinaryDiffResult
diff(Path actual, byte[] expected)
-
-
-
Method Detail
-
diff
public BinaryDiffResult diff(File actual, byte[] expected) throws IOException
- Throws:
IOException
-
diff
public BinaryDiffResult diff(Path actual, byte[] expected) throws IOException
- Throws:
IOException
-
diff
public BinaryDiffResult diff(InputStream actualStream, InputStream expectedStream) throws IOException
- Throws:
IOException
-
-