Uses of Interface
org.xmlunit.diff.ComparisonFormatter
-
Packages that use ComparisonFormatter Package Description org.xmlunit.assertj3 AssertJ 3.x assertions on top of XMLUnit's core.org.xmlunit.builder Provides fluent builders for core parts of XMLUnit.org.xmlunit.diff Contains XMLUnitDifferenceEngine
that is at the heart of all comparisons as well as supporting interfaces and implementations.org.xmlunit.matchers Hamcrest matchers on top of XMLUnit's core. -
-
Uses of ComparisonFormatter in org.xmlunit.assertj3
Fields in org.xmlunit.assertj3 declared as ComparisonFormatter Modifier and Type Field Description private ComparisonFormatter
CompareAssert. formatter
Methods in org.xmlunit.assertj3 with parameters of type ComparisonFormatter Modifier and Type Method Description private void
CompareAssert. failComparison(java.lang.String type, java.lang.String controlSystemId, java.lang.String testSystemId, Comparison difference, ComparisonFormatter formatter, boolean formatXml)
CompareAssert
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 ComparisonFormatter Modifier and Type Field Description private ComparisonFormatter
DiffBuilder. formatter
Methods in org.xmlunit.builder with parameters of type ComparisonFormatter Modifier and Type Method Description DiffBuilder
DiffBuilder. withComparisonFormatter(ComparisonFormatter formatter)
Sets a non-default formatter for the differences found.D
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 ComparisonFormatter Modifier and Type Class Description class
DefaultComparisonFormatter
Formatter methods for aComparison
Object.Fields in org.xmlunit.diff declared as ComparisonFormatter Modifier and Type Field Description private static ComparisonFormatter
Diff. DEFAULT_FORMATTER
private ComparisonFormatter
Diff. formatter
private ComparisonFormatter
Difference. formatter
Methods in org.xmlunit.diff with parameters of type ComparisonFormatter Modifier and Type Method Description java.lang.String
Diff. 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)
.java.lang.String
Comparison. toString(ComparisonFormatter formatter)
Returns a string representation of this comparison using the givenComparisonFormatter
java.lang.String
Diff. toString(ComparisonFormatter formatter)
Returns a string representation of first found difference in this diff using the givenComparisonFormatter
java.lang.String
Difference. toString(ComparisonFormatter formatter)
Returns a string representation of this difference using the givenComparisonFormatter
Constructors in org.xmlunit.diff with parameters of type ComparisonFormatter Constructor Description Diff(javax.xml.transform.Source controlSource, javax.xml.transform.Source testSource, ComparisonFormatter formatter, java.lang.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 ComparisonFormatter Modifier and Type Field Description private ComparisonFormatter
CompareMatcher. comparisonFormatter
private static ComparisonFormatter
CompareMatcher. DEFAULT_FORMATTER
Methods in org.xmlunit.matchers with parameters of type ComparisonFormatter Modifier and Type Method Description CompareMatcher
CompareMatcher. withComparisonFormatter(ComparisonFormatter comparisonFormatter)
Use a custom Formatter for the Error Messages.
-