Uses of Class
org.xmlunit.diff.Comparison
Packages that use Comparison
Package
Description
Root of the XMLUnit 1.x compatibility layer.
AssertJ 3.x assertions on top of XMLUnit's core.
Provides fluent builders for core parts of XMLUnit.
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.Hamcrest matchers on top of XMLUnit's core.
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
Methods in org.custommonkey.xmlunit with parameters of type ComparisonModifier and TypeMethodDescriptionvoid
NewDifferenceEngine.IsBetweenDocumentNodeAndRootElement.comparisonPerformed
(Comparison comparison, ComparisonResult outcome) void
NewDifferenceEngine.MatchTracker2ComparisonListener.comparisonPerformed
(Comparison comparison, ComparisonResult outcome) NewDifferenceEngine.DifferenceListener2DifferenceEvaluator.evaluate
(Comparison comparison, ComparisonResult outcome) NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences.evaluate
(Comparison comparison, ComparisonResult outcome) private boolean
NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences.isDocumentWithDocTypeDifference
(Comparison comparison) static Iterable<Difference>
NewDifferenceEngine.toDifference
(Comparison comp) -
Uses of Comparison in org.xmlunit.assertj3
Methods in org.xmlunit.assertj3 with parameters of type ComparisonModifier and TypeMethodDescriptionprivate void
CompareAssert.failComparison
(String type, String controlSystemId, String testSystemId, Comparison difference, ComparisonFormatter formatter, boolean formatXml) -
Uses of Comparison in org.xmlunit.builder
Methods in org.xmlunit.builder with parameters of type ComparisonModifier and TypeMethodDescriptionvoid
DiffBuilder.CollectResultsListener.comparisonPerformed
(Comparison comparison, ComparisonResult outcome) -
Uses of Comparison in org.xmlunit.diff
Fields in org.xmlunit.diff declared as ComparisonMethods in org.xmlunit.diff that return ComparisonMethods in org.xmlunit.diff with parameters of type ComparisonModifier and TypeMethodDescriptionprotected AbstractDifferenceEngine.ComparisonState
AbstractDifferenceEngine.ComparisonState.andIfTrueThen
(boolean predicate, Comparison comp) protected AbstractDifferenceEngine.ComparisonState
AbstractDifferenceEngine.ComparisonState.andThen
(Comparison comp) private static boolean
DifferenceEvaluators.belongsToProlog
(Comparison comparison, boolean ignoreDoctypeDeclarationAsWell) 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.private static void
ComparisonListenerSupport.fire
(Comparison comparison, ComparisonResult outcome, List<ComparisonListener> listeners) 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.private static boolean
DifferenceEvaluators.isSequenceOfRootElement
(Comparison comparison) Constructors in org.xmlunit.diff with parameters of type ComparisonModifierConstructorDescriptionDifference
(Comparison comparison, ComparisonResult result) Combines comparison and result. -
Uses of Comparison in org.xmlunit.matchers
Methods in org.xmlunit.matchers that return ComparisonMethods in org.xmlunit.matchers with parameters of type ComparisonModifier and TypeMethodDescriptionprivate String
CompareMatcher.createReasonPrefix
(String systemId, Comparison difference) -
Uses of Comparison in org.xmlunit.placeholder
Methods in org.xmlunit.placeholder with parameters of type ComparisonModifier and TypeMethodDescriptionprivate boolean
PlaceholderDifferenceEvaluator.cantFindControlTextChildInTest
(Comparison comparison) private boolean
PlaceholderDifferenceEvaluator.controlHasOneTextChildAndTestHasNone
(Comparison comparison) PlaceholderDifferenceEvaluator.evaluate
(Comparison comparison, ComparisonResult outcome) private ComparisonResult
PlaceholderDifferenceEvaluator.evaluateAttributeListLengthConsideringPlaceholders
(Comparison comparison, ComparisonResult outcome) private ComparisonResult
PlaceholderDifferenceEvaluator.evaluateMissingAttributeConsideringPlaceholders
(Comparison comparison, ComparisonResult outcome) private ComparisonResult
PlaceholderDifferenceEvaluator.evaluateMissingTextNodeConsideringPlaceholders
(Comparison comparison, ComparisonResult outcome) private boolean
PlaceholderDifferenceEvaluator.isMissingAttributeDifference
(Comparison comparison) private boolean
PlaceholderDifferenceEvaluator.isMissingTextNodeDifference
(Comparison comparison) private boolean
PlaceholderDifferenceEvaluator.isTextCDATAMismatch
(Comparison comparison)