org.assertj.core.internal
Class Diff

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

public class Diff
extends 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
Diff()
           
 
Method Summary
 List<String> diff(File actual, File expected)
           
 List<String> diff(File actual, String expected, Charset charset)
           
 List<String> diff(InputStream actual, InputStream expected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Diff

public Diff()
Method Detail

diff

public List<String> diff(InputStream actual,
                         InputStream expected)
                  throws IOException
Throws:
IOException

diff

public List<String> diff(File actual,
                         File expected)
                  throws IOException
Throws:
IOException

diff

public List<String> diff(File actual,
                         String expected,
                         Charset charset)
                  throws IOException
Throws:
IOException


Copyright © 2013–2015 AssertJ. All rights reserved.