org.assertj.core.internal
Class BinaryDiff

java.lang.Object
  extended by org.assertj.core.internal.BinaryDiff

public class BinaryDiff
extends Object

Compares the binary content of two streams.

Author:
Olivier Michallat

Constructor Summary
BinaryDiff()
           
 
Method Summary
 BinaryDiffResult diff(File actual, byte[] expected)
           
 BinaryDiffResult diff(InputStream actualStream, InputStream expectedStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryDiff

public BinaryDiff()
Method Detail

diff

public BinaryDiffResult diff(File actual,
                             byte[] expected)
                      throws IOException
Throws:
IOException

diff

public BinaryDiffResult diff(InputStream actualStream,
                             InputStream expectedStream)
                      throws IOException
Throws:
IOException


Copyright © 2013–2015 AssertJ. All rights reserved.