Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
CompareMatcher |
CompareMatcher.ignoreComments() |
CompareMatcher |
CompareMatcher.ignoreCommentsUsingXSLTVersion(String xsltVersion) |
CompareMatcher |
CompareMatcher.ignoreElementContentWhitespace() |
CompareMatcher |
CompareMatcher.ignoreWhitespace() |
static CompareMatcher |
CompareMatcher.isIdenticalTo(Object control)
Create a
CompareMatcher which compares the test-Object with the given control Object for identity. |
static CompareMatcher |
CompareMatcher.isSimilarTo(Object control)
Create a
CompareMatcher which compares the test-Object with the given control Object for similarity. |
CompareMatcher |
CompareMatcher.normalizeWhitespace() |
CompareMatcher |
CompareMatcher.throwComparisonFailure()
Instead of Matcher returning
false a org.junit.ComparisonFailure will be thrown. |
CompareMatcher |
CompareMatcher.withAttributeFilter(Predicate<Attr> attributeFilter) |
CompareMatcher |
CompareMatcher.withComparisonController(ComparisonController comparisonController)
Throws an exception as you the
ComparisonController is
completely determined by the factory method used. |
CompareMatcher |
CompareMatcher.withComparisonFormatter(ComparisonFormatter comparisonFormatter)
Use a custom Formatter for the Error Messages.
|
CompareMatcher |
CompareMatcher.withComparisonListeners(ComparisonListener... comparisonListeners) |
CompareMatcher |
CompareMatcher.withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator) |
CompareMatcher |
CompareMatcher.withDifferenceListeners(ComparisonListener... comparisonListeners) |
CompareMatcher |
CompareMatcher.withDocumentBuilderFactory(DocumentBuilderFactory f) |
CompareMatcher |
CompareMatcher.withNamespaceContext(Map<String,String> prefix2Uri) |
CompareMatcher |
CompareMatcher.withNodeFilter(Predicate<Node> nodeFilter) |
CompareMatcher |
CompareMatcher.withNodeMatcher(NodeMatcher nodeMatcher) |
Copyright © 2001–2020 XMLUnit. All rights reserved.