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.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 DifferenceEvaluator in org.custommonkey.xmlunit
Classes in org.custommonkey.xmlunit that implement DifferenceEvaluator Modifier and Type Class Description static classNewDifferenceEngine.DifferenceListener2DifferenceEvaluatorprivate static classNewDifferenceEngine.IgnoreDoctypeNotPresentDifferences -
Uses of DifferenceEvaluator in org.xmlunit.assertj3
Fields in org.xmlunit.assertj3 declared as DifferenceEvaluator Modifier and Type Field Description private static DifferenceEvaluatorCompareAssert. IgnoreNodeListSequenceMethods in org.xmlunit.assertj3 with parameters of type DifferenceEvaluator Modifier and Type Method Description CompareAssertCompareAssert. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)Provide your own customDifferenceEvaluatorimplementation. -
Uses of DifferenceEvaluator in org.xmlunit.builder
Fields in org.xmlunit.builder declared as DifferenceEvaluator Modifier and Type Field Description private DifferenceEvaluatorDiffBuilder. differenceEvaluatorMethods in org.xmlunit.builder with parameters of type DifferenceEvaluator Modifier and Type Method Description DiffBuilderDiffBuilder. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)Provide your own customDifferenceEvaluatorimplementation.DDifferenceEngineConfigurer. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)Provide your own customDifferenceEvaluatorimplementation. -
Uses of DifferenceEvaluator in org.xmlunit.diff
Fields in org.xmlunit.diff declared as DifferenceEvaluator Modifier and Type Field Description static DifferenceEvaluatorDifferenceEvaluators. AcceptDifference evaluator that just echos the result passed in.static DifferenceEvaluatorDifferenceEvaluators. DefaultThe "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.private DifferenceEvaluatorAbstractDifferenceEngine. diffEvaluatorMethods in org.xmlunit.diff that return DifferenceEvaluator Modifier and Type Method Description static DifferenceEvaluatorDifferenceEvaluators. chain(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluatorDifferenceEvaluators. downgradeDifferencesToEqual(ComparisonType... types)Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.static DifferenceEvaluatorDifferenceEvaluators. 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 DifferenceEvaluatorDifferenceEvaluators. first(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.protected DifferenceEvaluatorAbstractDifferenceEngine. getDifferenceEvaluator()Provides access to the configured DifferenceEvaluator.static DifferenceEvaluatorDifferenceEvaluators. ignorePrologDifferences()Ignore any differences that are part of the XML prolog.static DifferenceEvaluatorDifferenceEvaluators. ignorePrologDifferencesExceptDoctype()Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.private static DifferenceEvaluatorDifferenceEvaluators. recordDifferencesAs(ComparisonResult outcome, ComparisonType... types)static DifferenceEvaluatorDifferenceEvaluators. 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 DifferenceEvaluatorDifferenceEvaluators. chain(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.static DifferenceEvaluatorDifferenceEvaluators. first(DifferenceEvaluator... evaluators)Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.voidAbstractDifferenceEngine. setDifferenceEvaluator(DifferenceEvaluator e)voidDifferenceEngine. 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 CompareMatcherCompareMatcher. withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator) -
Uses of DifferenceEvaluator in org.xmlunit.placeholder
Classes in org.xmlunit.placeholder that implement DifferenceEvaluator Modifier and Type Class Description classPlaceholderDifferenceEvaluatorThis 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 aDifferenceEngineConfigurerconsidering an additionalDifferenceEvaluator.static <D extends DifferenceEngineConfigurer<D>>
DPlaceholderSupport. withPlaceholderSupportUsingDelimitersChainedAfter(D configurer, java.lang.String placeholderOpeningDelimiterRegex, java.lang.String placeholderClosingDelimiterRegex, java.lang.String placeholderArgsOpeningDelimiterRegex, java.lang.String placeholderArgsClosingDelimiterRegex, java.lang.String placeholderArgsSeparatorRegex, DifferenceEvaluator evaluator)Adds placeholder support to aDifferenceEngineConfigurerconsidering 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 aDifferenceEngineConfigurerconsidering an additionalDifferenceEvaluator.
-