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