org.unitils.reflectionassert.report.impl
Class DefaultDifferenceReport

java.lang.Object
  extended by 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

Nested Class Summary
static class DefaultDifferenceReport.MatchType
           
 
Field Summary
static int MAX_LINE_SIZE
           
 
Constructor Summary
DefaultDifferenceReport()
           
 
Method Summary
 String createReport(Difference difference)
          Creates a report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_LINE_SIZE

public static final int MAX_LINE_SIZE
See Also:
Constant Field Values
Constructor Detail

DefaultDifferenceReport

public DefaultDifferenceReport()
Method Detail

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.