org.unitils.reflectionassert.report.impl
Class SimpleDifferenceView

java.lang.Object
  extended by org.unitils.reflectionassert.report.impl.SimpleDifferenceView
All Implemented Interfaces:
DifferenceView

public class SimpleDifferenceView
extends Object
implements DifferenceView

Author:
Filip Neven

Constructor Summary
SimpleDifferenceView()
           
 
Method Summary
 String createView(Difference difference)
          Creates a string representation of the given difference tree.
protected  String formatOnOneLine(String expectedStr, String actualStr)
           
protected  String formatOnTwoLines(String expectedStr, String actualStr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleDifferenceView

public SimpleDifferenceView()
Method Detail

createView

public String createView(Difference difference)
Creates a string representation of the given difference tree.

Specified by:
createView in interface DifferenceView
Parameters:
difference - The root difference, not null
Returns:
The string representation, not null

formatOnOneLine

protected String formatOnOneLine(String expectedStr,
                                 String actualStr)

formatOnTwoLines

protected String formatOnTwoLines(String expectedStr,
                                  String actualStr)


Copyright © 2011. All Rights Reserved.