Package | Description |
---|---|
org.xmlunit.matchers |
Hamcrest matchers on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
private CompareMatcher |
CompareMatcher.checkForIdentical() |
private CompareMatcher |
CompareMatcher.checkForSimilar() |
CompareMatcher |
CompareMatcher.ignoreComments() |
CompareMatcher |
CompareMatcher.ignoreCommentsUsingXSLTVersion(java.lang.String xsltVersion) |
CompareMatcher |
CompareMatcher.ignoreElementContentWhitespace() |
CompareMatcher |
CompareMatcher.ignoreWhitespace() |
static CompareMatcher |
CompareMatcher.isIdenticalTo(java.lang.Object control)
Create a
CompareMatcher which compares the test-Object with the given control Object for identity. |
static CompareMatcher |
CompareMatcher.isSimilarTo(java.lang.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<org.w3c.dom.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(javax.xml.parsers.DocumentBuilderFactory f) |
CompareMatcher |
CompareMatcher.withNamespaceContext(java.util.Map<java.lang.String,java.lang.String> prefix2Uri) |
CompareMatcher |
CompareMatcher.withNodeFilter(Predicate<org.w3c.dom.Node> nodeFilter) |
CompareMatcher |
CompareMatcher.withNodeMatcher(NodeMatcher nodeMatcher) |