org.sonatype.sisu.litmus.testsupport.hamcrest
Class DiffUtils

java.lang.Object
  extended by org.sonatype.sisu.litmus.testsupport.hamcrest.DiffUtils

public class DiffUtils
extends Object

Some ideas to represent test assertions in more usable way

Inspired and blatantly copied from: http://stackoverflow.com/questions/319479/generate-formatted-diff-output-in-java

Thank you!

Since:
1.0

Constructor Summary
DiffUtils()
           
 
Method Summary
static String diffSideBySide(String fromStr, String toStr, boolean onlyDiffs)
          TODO
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiffUtils

public DiffUtils()
Method Detail

diffSideBySide

public static String diffSideBySide(String fromStr,
                                    String toStr,
                                    boolean onlyDiffs)
TODO

Since:
1.0


Copyright © 2008-2012 Sonatype, Inc.. All Rights Reserved.