Package | Description |
---|---|
org.custommonkey.xmlunit |
Root of the XMLUnit 1.x compatibility layer.
|
org.xmlunit.builder |
Provides fluent builders for core parts of XMLUnit.
|
org.xmlunit.diff |
Contains XMLUnit
DifferenceEngine 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.
|
Modifier and Type | Class and Description |
---|---|
static class |
NewDifferenceEngine.DifferenceListener2DifferenceEvaluator |
Modifier and Type | Method and Description |
---|---|
DiffBuilder |
DiffBuilder.withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator)
Provide your own custom
DifferenceEvaluator implementation. |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and 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.
|
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 Type | Method and 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 |
DifferenceEngine.setDifferenceEvaluator(DifferenceEvaluator e)
Evaluates the severity of a difference.
|
void |
AbstractDifferenceEngine.setDifferenceEvaluator(DifferenceEvaluator e) |
Modifier and Type | Method and Description |
---|---|
CompareMatcher |
CompareMatcher.withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator) |
Copyright © 2001–2017 XMLUnit. All rights reserved.