public class DetailedDiff extends Diff
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR, RETURN_UPGRADE_DIFFERENCE_NODES_DIFFERENT
Constructor and Description |
---|
DetailedDiff(Diff prototype)
Create a new instance based on a prototypical Diff instance
|
Modifier and Type | Method and Description |
---|---|
int |
differenceFound(Difference difference)
DifferenceListener implementation.
|
java.util.List |
getAllDifferences()
Obtain all the differences found by this instance
|
boolean |
haltComparison(Difference afterDifference)
ComparisonController implementation.
|
appendMessage, compare, identical, overrideDifferenceListener, overrideElementQualifier, overrideMatchTracker, similar, skippedComparison, toString
public DetailedDiff(Diff prototype)
prototype
- the Diff instance for which more detailed difference
information is requiredpublic int differenceFound(Difference difference)
differenceFound
in interface DifferenceListener
differenceFound
in class Diff
expected
- actual
- control
- test
- comparingWhat
- public boolean haltComparison(Difference afterDifference)
haltComparison
in interface ComparisonController
haltComparison
in class Diff
afterDifference
- Difference.isRecoverable()
public java.util.List getAllDifferences()
differences