Package | Description |
---|---|
org.xmlunit.builder |
Provides fluent builders for core parts of XMLUnit.
|
org.xmlunit.diff |
Contains XMLUnit
DifferenceEngine 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.
|
Modifier and Type | Method and Description |
---|---|
DiffBuilder |
DiffBuilder.withComparisonFormatter(ComparisonFormatter formatter)
Sets a non-default formatter for the differences found.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultComparisonFormatter
Formatter methods for a
Comparison Object. |
Modifier and Type | Method and Description |
---|---|
void |
Difference.setComparisonFormatter(ComparisonFormatter formatter)
Sets the default formatter to use with
Difference.toString(org.xmlunit.diff.ComparisonFormatter) . |
String |
Comparison.toString(ComparisonFormatter formatter)
Returns a string representation of this comparison using the
given
ComparisonFormatter |
String |
Diff.toString(ComparisonFormatter formatter) |
String |
Difference.toString(ComparisonFormatter formatter)
Returns a string representation of this difference using the
given
ComparisonFormatter |
Constructor and Description |
---|
Diff(Source controlSource,
Source testSource,
ComparisonFormatter formatter,
Iterable<Difference> differences) |
Modifier and Type | Method and Description |
---|---|
CompareMatcher |
CompareMatcher.withComparisonFormatter(ComparisonFormatter comparisonFormatter)
Use a custom Formatter for the Error Messages.
|
Copyright © 2001–2017 XMLUnit. All rights reserved.