Uses of Interface
org.xmlunit.diff.DifferenceEvaluator
Package
Description
Root of the XMLUnit 1.x compatibility layer.
AssertJ assertions on top of XMLUnit's core.
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 DifferenceEvaluator in org.custommonkey.xmlunit
Modifier and TypeClassDescriptionstatic class
Adapts XMLUnit 1.x DifferenceListener to XMLUnit 2.x DifferenceEvaluator. -
Uses of DifferenceEvaluator in org.xmlunit.assertj
Modifier and TypeMethodDescriptionCompareAssert.withDifferenceEvaluator
(DifferenceEvaluator differenceEvaluator) Provide your own customDifferenceEvaluator
implementation. -
Uses of DifferenceEvaluator in org.xmlunit.assertj3
Modifier and TypeMethodDescriptionCompareAssert.withDifferenceEvaluator
(DifferenceEvaluator differenceEvaluator) Provide your own customDifferenceEvaluator
implementation. -
Uses of DifferenceEvaluator in org.xmlunit.builder
Modifier and TypeMethodDescriptionDiffBuilder.withDifferenceEvaluator
(DifferenceEvaluator differenceEvaluator) Provide your own customDifferenceEvaluator
implementation.DifferenceEngineConfigurer.withDifferenceEvaluator
(DifferenceEvaluator differenceEvaluator) Provide your own customDifferenceEvaluator
implementation. -
Uses of DifferenceEvaluator in org.xmlunit.diff
Modifier and TypeFieldDescriptionstatic final DifferenceEvaluator
DifferenceEvaluators.Accept
Difference evaluator that just echos the result passed in.static final DifferenceEvaluator
DifferenceEvaluators.Default
The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.Modifier and TypeMethodDescriptionstatic DifferenceEvaluator
DifferenceEvaluators.chain
(DifferenceEvaluator... evaluators) Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluator
DifferenceEvaluators.downgradeDifferencesToEqual
(ComparisonType... types) Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.static DifferenceEvaluator
DifferenceEvaluators.downgradeDifferencesToSimilar
(ComparisonType... types) Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.static DifferenceEvaluator
DifferenceEvaluators.first
(DifferenceEvaluator... evaluators) Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.protected DifferenceEvaluator
AbstractDifferenceEngine.getDifferenceEvaluator()
Provides access to the configured DifferenceEvaluator.static DifferenceEvaluator
DifferenceEvaluators.ignorePrologDifferences()
Ignore any differences that are part of the XML prolog.static DifferenceEvaluator
DifferenceEvaluators.ignorePrologDifferencesExceptDoctype()
Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.static DifferenceEvaluator
DifferenceEvaluators.upgradeDifferencesToDifferent
(ComparisonType... types) Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.Modifier and TypeMethodDescriptionstatic DifferenceEvaluator
DifferenceEvaluators.chain
(DifferenceEvaluator... evaluators) Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluator
DifferenceEvaluators.first
(DifferenceEvaluator... evaluators) Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.void
AbstractDifferenceEngine.setDifferenceEvaluator
(DifferenceEvaluator e) void
DifferenceEngine.setDifferenceEvaluator
(DifferenceEvaluator e) Evaluates the severity of a difference. -
Uses of DifferenceEvaluator in org.xmlunit.matchers
Modifier and TypeMethodDescriptionCompareMatcher.withDifferenceEvaluator
(DifferenceEvaluator differenceEvaluator) -
Uses of DifferenceEvaluator in org.xmlunit.placeholder
Modifier and TypeClassDescriptionclass
This class is used to add placeholder feature to XML comparison.Modifier and TypeMethodDescriptionstatic <D extends DifferenceEngineConfigurer<D>>
DPlaceholderSupport.withPlaceholderSupportChainedAfter
(D configurer, DifferenceEvaluator evaluator) Adds placeholder support to aDifferenceEngineConfigurer
considering an additionalDifferenceEvaluator
.static <D extends DifferenceEngineConfigurer<D>>
DPlaceholderSupport.withPlaceholderSupportUsingDelimitersChainedAfter
(D configurer, String placeholderOpeningDelimiterRegex, String placeholderClosingDelimiterRegex, String placeholderArgsOpeningDelimiterRegex, String placeholderArgsClosingDelimiterRegex, String placeholderArgsSeparatorRegex, DifferenceEvaluator evaluator) Adds placeholder support to aDifferenceEngineConfigurer
considering an additionalDifferenceEvaluator
.static <D extends DifferenceEngineConfigurer<D>>
DPlaceholderSupport.withPlaceholderSupportUsingDelimitersChainedAfter
(D configurer, String placeholderOpeningDelimiterRegex, String placeholderClosingDelimiterRegex, DifferenceEvaluator evaluator) Adds placeholder support to aDifferenceEngineConfigurer
considering an additionalDifferenceEvaluator
.