org.unitils.reflectionassert.report.impl
Class SimpleDifferenceView
java.lang.Object
org.unitils.reflectionassert.report.impl.SimpleDifferenceView
- All Implemented Interfaces:
- DifferenceView
public class SimpleDifferenceView
- extends Object
- implements DifferenceView
- Author:
- Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDifferenceView
public SimpleDifferenceView()
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.