Uses of Class
org.xmlunit.diff.Comparison
Package
Description
Root of the XMLUnit 1.x compatibility layer.
Contains internal classes of XMLUnit's AssertJ support that are
only public as an implementation detail.
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.This package contains experimental support for configuring parts of
the test engine by using
${xmlunit.KEYWORD}
sequences
inside the control document.-
Uses of Comparison in org.custommonkey.xmlunit
Modifier and TypeMethodDescriptionvoid
NewDifferenceEngine.MatchTracker2ComparisonListener.comparisonPerformed
(Comparison comparison, ComparisonResult outcome) NewDifferenceEngine.DifferenceListener2DifferenceEvaluator.evaluate
(Comparison comparison, ComparisonResult outcome) static Iterable<Difference>
NewDifferenceEngine.toDifference
(Comparison comp) Maps a Comparison to Differences. -
Uses of Comparison in org.xmlunit.assertj.error
Modifier and TypeMethodDescriptionstatic ShouldBeSimilar
ShouldBeSimilar.shouldBeIdentical
(String controlSystemId, String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml) static ShouldBeSimilar
ShouldBeSimilar.shouldBeSimilar
(String controlSystemId, String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml) -
Uses of Comparison in org.xmlunit.diff
Modifier and TypeMethodDescriptionprotected AbstractDifferenceEngine.ComparisonState
AbstractDifferenceEngine.ComparisonState.andIfTrueThen
(boolean predicate, Comparison comp) Maybe combines the current state with a different comparison.protected AbstractDifferenceEngine.ComparisonState
AbstractDifferenceEngine.ComparisonState.andThen
(Comparison comp) Combines the current state with a different comparison.protected final AbstractDifferenceEngine.ComparisonState
AbstractDifferenceEngine.compare
(Comparison comp) Compares the detail values for object equality, lets the difference evaluator and comparison controller evaluate the result, notifies all listeners and returns the outcome.void
ComparisonListener.comparisonPerformed
(Comparison comparison, ComparisonResult outcome) Receives information about a comparison that has been performed and its outcome.DifferenceEvaluator.evaluate
(Comparison comparison, ComparisonResult outcome) May alter the outcome of a comparison.void
ComparisonListenerSupport.fireComparisonPerformed
(Comparison comparison, ComparisonResult outcome) Propagates the result of a comparision to all registered listeners.ComparisonFormatter.getDescription
(Comparison difference) Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.DefaultComparisonFormatter.getDescription
(Comparison difference) Return a short String of the Comparison including the XPath and the shorten value of the effected control and test Node.ModifierConstructorDescriptionDifference
(Comparison comparison, ComparisonResult result) Combines comparison and result. -
Uses of Comparison in org.xmlunit.placeholder
Modifier and TypeMethodDescriptionPlaceholderDifferenceEvaluator.evaluate
(Comparison comparison, ComparisonResult outcome)