org.unitils.reflectionassert.report.impl
Class DefaultDifferenceReport
java.lang.Object
org.unitils.reflectionassert.report.impl.DefaultDifferenceReport
- All Implemented Interfaces:
- DifferenceReport
public class DefaultDifferenceReport
- extends Object
- implements DifferenceReport
Creates a report of the given differences. This will first output the differences using the default difference
view. If the difference is not a simple difference, this will also output the difference tree using the
difference tree view.
- Author:
- Tim Ducheyne, Filip Neven
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_LINE_SIZE
public static final int MAX_LINE_SIZE
- See Also:
- Constant Field Values
DefaultDifferenceReport
public DefaultDifferenceReport()
createReport
public String createReport(Difference difference)
- Creates a report.
- Specified by:
createReport
in interface DifferenceReport
- Parameters:
difference
- The difference to output, null for a match
- Returns:
- The report, not null
Copyright © 2011. All Rights Reserved.