Uses of Interface
org.xmlunit.diff.ComparisonFormatter
-
Packages that use ComparisonFormatter Package Description org.xmlunit.assertj AssertJ assertions on top of XMLUnit's core.org.xmlunit.assertj.error Contains internal classes of XMLUnit's AssertJ support that are only public as an implementation detail.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.assertj
Fields in org.xmlunit.assertj declared as ComparisonFormatter Modifier and Type Field Description private ComparisonFormatter
CompareAssert. formatter
Methods in org.xmlunit.assertj with parameters of type ComparisonFormatter Modifier and Type Method Description CompareAssert
CompareAssert. withComparisonFormatter(ComparisonFormatter formatter)
Sets a non-default formatter for the differences found. -
Uses of ComparisonFormatter in org.xmlunit.assertj.error
Methods in org.xmlunit.assertj.error with parameters of type ComparisonFormatter Modifier and Type Method Description private static java.lang.String
ShouldBeSimilar. createReasonPrefix(java.lang.String controlSystemId, java.lang.String testSystemId, java.lang.String type, Comparison difference, ComparisonFormatter formatter)
static ShouldBeSimilar
ShouldBeSimilar. shouldBeIdentical(java.lang.String controlSystemId, java.lang.String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
static ShouldBeSimilar
ShouldBeSimilar. shouldBeSimilar(java.lang.String controlSystemId, java.lang.String testSystemId, Comparison comparison, ComparisonFormatter formatter, boolean formatXml)
-
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 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)
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)
-
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.
-