Uses of Class
org.xmlunit.diff.Comparison
-
Packages that use Comparison Package Description org.custommonkey.xmlunit Root of the XMLUnit 1.x compatibility layer.org.xmlunit.assertj.error Contains internal classes of XMLUnit's AssertJ support that are only public as an implementation detail.org.xmlunit.builder Provides fluent builders for core parts of XMLUnit.org.xmlunit.diff Contains XMLUnitDifferenceEngine
that is at the heart of all comparisons as well as supporting interfaces and implementations.org.xmlunit.matchers Hamcrest matchers on top of XMLUnit's core.org.xmlunit.placeholder 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 Comparison Modifier and Type Method Description void
NewDifferenceEngine.IsBetweenDocumentNodeAndRootElement. comparisonPerformed(Comparison comparison, ComparisonResult outcome)
void
NewDifferenceEngine.MatchTracker2ComparisonListener. comparisonPerformed(Comparison comparison, ComparisonResult outcome)
ComparisonResult
NewDifferenceEngine.DifferenceListener2DifferenceEvaluator. evaluate(Comparison comparison, ComparisonResult outcome)
ComparisonResult
NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences. evaluate(Comparison comparison, ComparisonResult outcome)
private boolean
NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences. isDocumentWithDocTypeDifference(Comparison comparison)
static java.lang.Iterable<Difference>
NewDifferenceEngine. toDifference(Comparison comp)
-
Uses of Comparison in org.xmlunit.assertj.error
Methods in org.xmlunit.assertj.error with parameters of type Comparison Modifier and Type Method Description private static java.lang.String
ShouldBeSimilar. createReasonPrefix(java.lang.String controlSystemId, java.lang.String testSystemId, java.lang.String type, Comparison difference, ComparisonFormatter formatter)
static ShouldBeSimilar
ShouldBeSimilar. shouldBeIdentical(java.lang.String controlSystemId, java.lang.String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
static ShouldBeSimilar
ShouldBeSimilar. shouldBeSimilar(java.lang.String controlSystemId, java.lang.String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
-
Uses of Comparison in org.xmlunit.builder
Methods in org.xmlunit.builder with parameters of type Comparison Modifier and Type Method Description void
DiffBuilder.CollectResultsListener. comparisonPerformed(Comparison comparison, ComparisonResult outcome)
-
Uses of Comparison in org.xmlunit.diff
Fields in org.xmlunit.diff declared as Comparison Modifier and Type Field Description private Comparison
Difference. comparison
Methods in org.xmlunit.diff that return Comparison Modifier and Type Method Description Comparison
Difference. getComparison()
The details of the comparison.Methods in org.xmlunit.diff with parameters of type Comparison Modifier and Type Method Description protected 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 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.ComparisonResult
DifferenceEvaluator. evaluate(Comparison comparison, ComparisonResult outcome)
May alter the outcome of a comparison.private static void
ComparisonListenerSupport. fire(Comparison comparison, ComparisonResult outcome, java.util.List<ComparisonListener> listeners)
void
ComparisonListenerSupport. fireComparisonPerformed(Comparison comparison, ComparisonResult outcome)
Propagates the result of a comparision to all registered listeners.java.lang.String
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.java.lang.String
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 Comparison Constructor Description Difference(Comparison comparison, ComparisonResult result)
Combines comparison and result. -
Uses of Comparison in org.xmlunit.matchers
Methods in org.xmlunit.matchers that return Comparison Modifier and Type Method Description private Comparison
CompareMatcher. firstComparison()
Methods in org.xmlunit.matchers with parameters of type Comparison Modifier and Type Method Description private java.lang.String
CompareMatcher. createReasonPrefix(java.lang.String systemId, Comparison difference)
-
Uses of Comparison in org.xmlunit.placeholder
Methods in org.xmlunit.placeholder with parameters of type Comparison Modifier and Type Method Description private boolean
PlaceholderDifferenceEvaluator. cantFindControlTextChildInTest(Comparison comparison)
private boolean
PlaceholderDifferenceEvaluator. controlHasOneTextChildAndTestHasNone(Comparison comparison)
ComparisonResult
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)
-