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.assertj3 AssertJ 3.x assertions on top of XMLUnit's core.org.xmlunit.builder Provides fluent builders for core parts of XMLUnit.org.xmlunit.diff Contains XMLUnitDifferenceEnginethat 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 voidNewDifferenceEngine.IsBetweenDocumentNodeAndRootElement. comparisonPerformed(Comparison comparison, ComparisonResult outcome)voidNewDifferenceEngine.MatchTracker2ComparisonListener. comparisonPerformed(Comparison comparison, ComparisonResult outcome)ComparisonResultNewDifferenceEngine.DifferenceListener2DifferenceEvaluator. evaluate(Comparison comparison, ComparisonResult outcome)ComparisonResultNewDifferenceEngine.IgnoreDoctypeNotPresentDifferences. evaluate(Comparison comparison, ComparisonResult outcome)private booleanNewDifferenceEngine.IgnoreDoctypeNotPresentDifferences. isDocumentWithDocTypeDifference(Comparison comparison)static java.lang.Iterable<Difference>NewDifferenceEngine. toDifference(Comparison comp) -
Uses of Comparison in org.xmlunit.assertj3
Methods in org.xmlunit.assertj3 with parameters of type Comparison Modifier and Type Method Description private voidCompareAssert. failComparison(java.lang.String type, java.lang.String controlSystemId, java.lang.String testSystemId, Comparison difference, 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 voidDiffBuilder.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 ComparisonDifference. comparisonMethods in org.xmlunit.diff that return Comparison Modifier and Type Method Description ComparisonDifference. getComparison()The details of the comparison.Methods in org.xmlunit.diff with parameters of type Comparison Modifier and Type Method Description protected AbstractDifferenceEngine.ComparisonStateAbstractDifferenceEngine.ComparisonState. andIfTrueThen(boolean predicate, Comparison comp)protected AbstractDifferenceEngine.ComparisonStateAbstractDifferenceEngine.ComparisonState. andThen(Comparison comp)private static booleanDifferenceEvaluators. belongsToProlog(Comparison comparison, boolean ignoreDoctypeDeclarationAsWell)protected AbstractDifferenceEngine.ComparisonStateAbstractDifferenceEngine. 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.voidComparisonListener. comparisonPerformed(Comparison comparison, ComparisonResult outcome)Receives information about a comparison that has been performed and its outcome.ComparisonResultDifferenceEvaluator. evaluate(Comparison comparison, ComparisonResult outcome)May alter the outcome of a comparison.private static voidComparisonListenerSupport. fire(Comparison comparison, ComparisonResult outcome, java.util.List<ComparisonListener> listeners)voidComparisonListenerSupport. fireComparisonPerformed(Comparison comparison, ComparisonResult outcome)Propagates the result of a comparision to all registered listeners.java.lang.StringComparisonFormatter. 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.StringDefaultComparisonFormatter. 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 booleanDifferenceEvaluators. 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 ComparisonCompareMatcher. firstComparison()Methods in org.xmlunit.matchers with parameters of type Comparison Modifier and Type Method Description private java.lang.StringCompareMatcher. 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 booleanPlaceholderDifferenceEvaluator. cantFindControlTextChildInTest(Comparison comparison)private booleanPlaceholderDifferenceEvaluator. controlHasOneTextChildAndTestHasNone(Comparison comparison)ComparisonResultPlaceholderDifferenceEvaluator. evaluate(Comparison comparison, ComparisonResult outcome)private ComparisonResultPlaceholderDifferenceEvaluator. evaluateAttributeListLengthConsideringPlaceholders(Comparison comparison, ComparisonResult outcome)private ComparisonResultPlaceholderDifferenceEvaluator. evaluateMissingAttributeConsideringPlaceholders(Comparison comparison, ComparisonResult outcome)private ComparisonResultPlaceholderDifferenceEvaluator. evaluateMissingTextNodeConsideringPlaceholders(Comparison comparison, ComparisonResult outcome)private booleanPlaceholderDifferenceEvaluator. isMissingAttributeDifference(Comparison comparison)private booleanPlaceholderDifferenceEvaluator. isMissingTextNodeDifference(Comparison comparison)private booleanPlaceholderDifferenceEvaluator. isTextCDATAMismatch(Comparison comparison)
-