Uses of Class
org.xmlunit.matchers.CompareMatcher
-
Uses of CompareMatcher in org.xmlunit.matchers
Methods in org.xmlunit.matchers that return CompareMatcherModifier and TypeMethodDescriptionCompareMatcher.ignoreComments()CompareMatcher.ignoreCommentsUsingXSLTVersion(String xsltVersion) CompareMatcher.ignoreElementContentWhitespace()CompareMatcher.ignoreWhitespace()static CompareMatcherCompareMatcher.isIdenticalTo(Object control) Create aCompareMatcherwhich compares the test-Object with the given control Object for identity.static CompareMatcherCompareMatcher.isSimilarTo(Object control) Create aCompareMatcherwhich compares the test-Object with the given control Object for similarity.CompareMatcher.normalizeWhitespace()CompareMatcher.throwComparisonFailure()Instead of Matcher returningfalseaorg.junit.ComparisonFailurewill be thrown.CompareMatcher.withAttributeFilter(Predicate<Attr> attributeFilter) CompareMatcher.withComparisonController(ComparisonController comparisonController) Throws an exception as you theComparisonControlleris completely determined by the factory method used.CompareMatcher.withComparisonFormatter(ComparisonFormatter comparisonFormatter) Use a custom Formatter for the Error Messages.CompareMatcher.withComparisonListeners(ComparisonListener... comparisonListeners) CompareMatcher.withDifferenceEvaluator(DifferenceEvaluator differenceEvaluator) CompareMatcher.withDifferenceListeners(ComparisonListener... comparisonListeners) CompareMatcher.withDocumentBuilderFactory(DocumentBuilderFactory f) CompareMatcher.withNamespaceContext(Map<String, String> prefix2Uri) CompareMatcher.withNodeFilter(Predicate<Node> nodeFilter) CompareMatcher.withNodeMatcher(NodeMatcher nodeMatcher)