| Package | Description |
|---|---|
| org.xmlunit.diff |
Contains XMLUnit
DifferenceEngine that is
at the heart of all comparisons as well as supporting interfaces
and implementations. |
| Modifier and Type | Method and Description |
|---|---|
Comparison |
Difference.getComparison()
The details of the comparison.
|
| Modifier and Type | Method and Description |
|---|---|
protected AbstractDifferenceEngine.ComparisonState |
AbstractDifferenceEngine.ComparisonState.andIfTrueThen(boolean predicate,
Comparison comp)
Maybe combines the current state with a different comparison.
|
protected AbstractDifferenceEngine.ComparisonState |
AbstractDifferenceEngine.ComparisonState.andThen(Comparison comp)
Combines the current state with a different comparison.
|
protected AbstractDifferenceEngine.ComparisonState |
AbstractDifferenceEngine.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.
|
void |
ComparisonListener.comparisonPerformed(Comparison comparison,
ComparisonResult outcome)
Receives information about a comparison that has been performed
and its outcome.
|
ComparisonResult |
DifferenceEvaluator.evaluate(Comparison comparison,
ComparisonResult outcome)
May alter the outcome of a comparison.
|
void |
ComparisonListenerSupport.fireComparisonPerformed(Comparison comparison,
ComparisonResult outcome)
Propagates the result of a comparision to all registered
listeners.
|
String |
DefaultComparisonFormatter.getDescription(Comparison difference)
Return a short String of the Comparison including the XPath and the shorten value of the effected control and
test Node.
|
String |
ComparisonFormatter.getDescription(Comparison difference)
Return a short String of the Comparison including the XPath and the shorten value of the effected control and
test Node.
|
| Constructor and Description |
|---|
Difference(Comparison comparison,
ComparisonResult result)
Combines comparison and result.
|
Copyright © 2001–2025 XMLUnit. All rights reserved.