| |
|
| java.lang.Object org.custommonkey.xmlunit.Diff org.custommonkey.xmlunit.DetailedDiff
DetailedDiff | public class DetailedDiff extends Diff (Code) | | Compares and describes all the differences between two XML documents.
The document comparison does not stop once the first unrecoverable difference
is found, unlike the Diff class.
Note that because the differences are described relative to some control XML
the list of all differences when A is compared to B will not
necessarily be the same as when B is compared to A.
Examples and more at xmlunit.sourceforge.net
|
DetailedDiff | public DetailedDiff(Diff prototype)(Code) | | Create a new instance based on a prototypical Diff instance
Parameters: prototype - the Diff instance for which more detailed differenceinformation is required |
differenceFound | public int differenceFound(Difference difference)(Code) | | DifferenceListener implementation.
Add the difference to the list of all differences
Parameters: expected - Parameters: actual - Parameters: control - Parameters: test - Parameters: comparingWhat - the value supplied by the superclass implementation |
getAllDifferences | public List getAllDifferences()(Code) | | Obtain all the differences found by this instance
a list of Difference differences |
haltComparison | public boolean haltComparison(Difference afterDifference)(Code) | | ComparisonController implementation.
Parameters: afterDifference - false always as this class wants to see all differences |
|
|
|