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 voidCompareAssert.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 ComparisonFormatterDiff.DEFAULT_FORMATTERprivate final ComparisonFormatterDiff.formatterprivate ComparisonFormatterDifference.formatterMethods in org.xmlunit.diff with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionDiff.fullDescription(ComparisonFormatter formatter) Returns a string representation of this diff using the givenComparisonFormattervoidDifference.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 givenComparisonFormatterDiff.toString(ComparisonFormatter formatter) Returns a string representation of first found difference in this diff using the givenComparisonFormatterDifference.toString(ComparisonFormatter formatter) Returns a string representation of this difference using the givenComparisonFormatterConstructors in org.xmlunit.diff with parameters of type ComparisonFormatterModifierConstructorDescriptionDiff(Source controlSource, Source testSource, ComparisonFormatter formatter, Iterable<Difference> differences) Encapsulates the compared sources and the differences found. -
Uses of ComparisonFormatter in org.xmlunit.matchers
Fields in org.xmlunit.matchers declared as ComparisonFormatterModifier and TypeFieldDescriptionprivate ComparisonFormatterCompareMatcher.comparisonFormatterprivate static final ComparisonFormatterCompareMatcher.DEFAULT_FORMATTERMethods in org.xmlunit.matchers with parameters of type ComparisonFormatterModifier and TypeMethodDescriptionCompareMatcher.withComparisonFormatter(ComparisonFormatter comparisonFormatter) Use a custom Formatter for the Error Messages.