Uses of Interface
org.xmlunit.diff.ComparisonFormatter
Packages that use ComparisonFormatter
Package
Description
AssertJ 3.x assertions on top of XMLUnit's core.
Provides fluent builders for core parts of XMLUnit.
Contains XMLUnit
DifferenceEngine
that is
at the heart of all comparisons as well as supporting interfaces
and implementations.Hamcrest matchers on top of XMLUnit's core.
-
Uses of ComparisonFormatter in org.xmlunit.assertj3
Fields in org.xmlunit.assertj3 declared as ComparisonFormatterMethods in org.xmlunit.assertj3 with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionprivate void
CompareAssert.failComparison
(String type, String controlSystemId, String testSystemId, Comparison difference, ComparisonFormatter formatter, boolean formatXml) CompareAssert.withComparisonFormatter
(ComparisonFormatter formatter) Sets a non-default formatter for the differences found. -
Uses of ComparisonFormatter in org.xmlunit.builder
Fields in org.xmlunit.builder declared as ComparisonFormatterMethods in org.xmlunit.builder with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionDiffBuilder.withComparisonFormatter
(ComparisonFormatter formatter) Sets a non-default formatter for the differences found.DifferenceEngineConfigurer.withComparisonFormatter
(ComparisonFormatter formatter) Sets a non-default formatter for the differences found. -
Uses of ComparisonFormatter in org.xmlunit.diff
Classes in org.xmlunit.diff that implement ComparisonFormatterFields in org.xmlunit.diff declared as ComparisonFormatterModifier and TypeFieldDescriptionprivate static final ComparisonFormatter
Diff.DEFAULT_FORMATTER
private final ComparisonFormatter
Diff.formatter
private ComparisonFormatter
Difference.formatter
Methods in org.xmlunit.diff with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionDiff.fullDescription
(ComparisonFormatter formatter) Returns a string representation of this diff using the givenComparisonFormatter
void
Difference.setComparisonFormatter
(ComparisonFormatter formatter) Sets the default formatter to use withDifference.toString(org.xmlunit.diff.ComparisonFormatter)
.Comparison.toString
(ComparisonFormatter formatter) Returns a string representation of this comparison using the givenComparisonFormatter
Diff.toString
(ComparisonFormatter formatter) Returns a string representation of first found difference in this diff using the givenComparisonFormatter
Difference.toString
(ComparisonFormatter formatter) Returns a string representation of this difference using the givenComparisonFormatter
Constructors in org.xmlunit.diff with parameters of type ComparisonFormatterModifierConstructorDescriptionDiff
(Source controlSource, Source testSource, ComparisonFormatter formatter, Iterable<Difference> differences) -
Uses of ComparisonFormatter in org.xmlunit.matchers
Fields in org.xmlunit.matchers declared as ComparisonFormatterModifier and TypeFieldDescriptionprivate ComparisonFormatter
CompareMatcher.comparisonFormatter
private static final ComparisonFormatter
CompareMatcher.DEFAULT_FORMATTER
Methods in org.xmlunit.matchers with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionCompareMatcher.withComparisonFormatter
(ComparisonFormatter comparisonFormatter) Use a custom Formatter for the Error Messages.