Uses of Interface
org.xmlunit.diff.DifferenceEvaluator
-
Packages that use DifferenceEvaluator Package Description org.custommonkey.xmlunit Root of the XMLUnit 1.x compatibility layer.org.xmlunit.assertj AssertJ assertions on top of XMLUnit's core.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 DifferenceEvaluator in org.custommonkey.xmlunit
Classes in org.custommonkey.xmlunit that implement DifferenceEvaluator Modifier and Type Class Description static class
NewDifferenceEngine.DifferenceListener2DifferenceEvaluator
private static class
NewDifferenceEngine.IgnoreDoctypeNotPresentDifferences
-
Uses of DifferenceEvaluator in org.xmlunit.assertj
Fields in org.xmlunit.assertj declared as DifferenceEvaluator Modifier and Type Field Description private static DifferenceEvaluator
CompareAssert. IgnoreNodeListSequence
Methods in org.xmlunit.assertj with parameters of type DifferenceEvaluator Modifier and Type Method Description CompareAssert
CompareAssert. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)
Provide your own customDifferenceEvaluator
implementation. -
Uses of DifferenceEvaluator in org.xmlunit.builder
Fields in org.xmlunit.builder declared as DifferenceEvaluator Modifier and Type Field Description private DifferenceEvaluator
DiffBuilder. differenceEvaluator
Methods in org.xmlunit.builder with parameters of type DifferenceEvaluator Modifier and Type Method Description DiffBuilder
DiffBuilder. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)
Provide your own customDifferenceEvaluator
implementation.D
DifferenceEngineConfigurer. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)
Provide your own customDifferenceEvaluator
implementation. -
Uses of DifferenceEvaluator in org.xmlunit.diff
Fields in org.xmlunit.diff declared as DifferenceEvaluator Modifier and Type Field Description static DifferenceEvaluator
DifferenceEvaluators. Accept
Difference evaluator that just echos the result passed in.static DifferenceEvaluator
DifferenceEvaluators. Default
The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.private DifferenceEvaluator
AbstractDifferenceEngine. diffEvaluator
Methods in org.xmlunit.diff that return DifferenceEvaluator Modifier and Type Method Description static 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.private static DifferenceEvaluator
DifferenceEvaluators. recordDifferencesAs(ComparisonResult outcome, ComparisonType... types)
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.Methods in org.xmlunit.diff with parameters of type DifferenceEvaluator Modifier and Type Method Description static 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
Methods in org.xmlunit.matchers with parameters of type DifferenceEvaluator Modifier and Type Method Description CompareMatcher
CompareMatcher. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)
-
Uses of DifferenceEvaluator in org.xmlunit.placeholder
Classes in org.xmlunit.placeholder that implement DifferenceEvaluator Modifier and Type Class Description class
PlaceholderDifferenceEvaluator
This class is used to add placeholder feature to XML comparison.Methods in org.xmlunit.placeholder with parameters of type DifferenceEvaluator Modifier and Type Method Description static <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, java.lang.String placeholderOpeningDelimiterRegex, java.lang.String placeholderClosingDelimiterRegex, DifferenceEvaluator evaluator)
Adds placeholder support to aDifferenceEngineConfigurer
considering an additionalDifferenceEvaluator
.
-