Evaluators used for the base cases.
See Also: Inherited members from object.
static
|
Accept
(Comparison, ComparisonResult)Difference evaluator that just echos the result passed in. |
|
static
|
Chain
(params DifferenceEvaluator[])Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator. |
|
static
|
Default
(Comparison, ComparisonResult)The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar. |
|
static
|
DowngradeDifferencesToEqual
(params ComparisonType[])Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes. |
|
static
|
DowngradeDifferencesToSimilar
(params ComparisonType[])Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes. |
|
static
|
First
(params DifferenceEvaluator[])Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins. |
|
static
|
IgnorePrologDifferences
()Ignore any differences that are part of the XML prolog. |
|
static
|
IgnorePrologDifferencesExceptDoctype
()Ignore any differences except differences inside the doctype declaration that are part of the XML prolog. |
|
static
|
UpgradeDifferencesToDifferent
(params ComparisonType[])Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes. |
Difference evaluator that just echos the result passed in.Syntax
Parameters
- comparison
- Documentation for this section has not yet been entered.
- outcome
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Combines multiple DifferenceEvaluators so that the result of the first Evaluator will be passed to the next Evaluator.Syntax
public static DifferenceEvaluator Chain (params DifferenceEvaluator[] evaluators)Parameters
- evaluators
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
The "standard" difference evaluator which decides which differences make two XML documents really different and which still leave them similar.Syntax
Parameters
- comparison
- Documentation for this section has not yet been entered.
- outcome
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Creates a DifferenceEvaluator that returns a EQUAL result for differences found in one of the given ComparisonTypes.Syntax
public static DifferenceEvaluator DowngradeDifferencesToEqual (params ComparisonType[] types)Parameters
- types
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
since XMLUnit 2.1.0Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Creates a DifferenceEvaluator that returns a SIMILAR result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.Syntax
public static DifferenceEvaluator DowngradeDifferencesToSimilar (params ComparisonType[] types)Parameters
- types
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
since XMLUnit 2.1.0Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Combines multiple DifferenceEvaluators so that the first one that changes the outcome wins.Syntax
public static DifferenceEvaluator First (params DifferenceEvaluator[] evaluators)Parameters
- evaluators
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
Documentation for this section has not yet been entered.Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Ignore any differences that are part of the XML prolog.Syntax
public static DifferenceEvaluator IgnorePrologDifferences ()Returns
Documentation for this section has not yet been entered.Remarks
Here "ignore" means return {@code ComparisonResult.EQUAL}. since XMLUnit 2.1.0Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Ignore any differences except differences inside the doctype declaration that are part of the XML prolog.Syntax
public static DifferenceEvaluator IgnorePrologDifferencesExceptDoctype ()Returns
Documentation for this section has not yet been entered.Remarks
Here "ignore" means return ComparisonResult.EQUAL.
In general different doctype declarations will be ignored because of NodeFilters.Default, so if you want to detect these differences you need to pick a different NodeFilter.
since XMLUnit 2.1.0
Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240
Creates a DifferenceEvaluator that returns a DIFFERENT result for differences (Comparisons that are not EQUAL) found in one of the given ComparisonTypes.Syntax
public static DifferenceEvaluator UpgradeDifferencesToDifferent (params ComparisonType[] types)Parameters
- types
- Documentation for this section has not yet been entered.
Returns
Documentation for this section has not yet been entered.Remarks
since XMLUnit 2.1.0Requirements
Namespace: Org.XmlUnit.Diff
Assembly: xmlunit-core (in xmlunit-core.dll)
Assembly Versions: 2.9.2.240