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 |
---|---|
ComparisonType |
Comparison.getType()
The kind of comparison performed.
|
static ComparisonType |
ComparisonType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComparisonType[] |
ComparisonType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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.
|
String |
DefaultComparisonFormatter.getDetails(Comparison.Detail difference,
ComparisonType type,
boolean formatXml) |
String |
ComparisonFormatter.getDetails(Comparison.Detail details,
ComparisonType type,
boolean formatXml)
Return the xml node from
Comparison.Detail.getTarget() as formatted String. |
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.
|
Constructor and Description |
---|
Comparison(ComparisonType t,
Node controlTarget,
String controlXPath,
Object controlValue,
String controlParentXPath,
Node testTarget,
String testXPath,
Object testValue,
String testParentXPath) |
Copyright © 2001–2016 XMLUnit. All rights reserved.