org.apache.wink.test.diff
Class DiffWithMultiLevelQualifier
java.lang.Object
org.custommonkey.xmlunit.Diff
org.apache.wink.test.diff.DiffWithMultiLevelQualifier
- All Implemented Interfaces:
- org.custommonkey.xmlunit.ComparisonController, org.custommonkey.xmlunit.DifferenceListener
public class DiffWithMultiLevelQualifier
- extends org.custommonkey.xmlunit.Diff
Class that overrides XmlUnit Diff class. Order of elements is ignored.
Qualifier looks at the element's name, as well as the name of the first child
element and the text nested into that first child element. The nesting level
is 2. The qualifier is MultiLevelElementNameAndTextQualifier
with
argument "2".
It is implemented to be used by Stm application tests for XML comparison.
Fields inherited from interface org.custommonkey.xmlunit.DifferenceListener |
RETURN_ACCEPT_DIFFERENCE, RETURN_IGNORE_DIFFERENCE_NODES_IDENTICAL, RETURN_IGNORE_DIFFERENCE_NODES_SIMILAR |
Constructor Summary |
DiffWithMultiLevelQualifier(org.w3c.dom.Document controlDocument,
org.w3c.dom.Document testedDocument)
Constructor of XmlUnit Diff with MultiLevelElementNameAndTextQualifier(2) |
Methods inherited from class org.custommonkey.xmlunit.Diff |
appendMessage, compare, differenceFound, haltComparison, identical, overrideDifferenceListener, overrideElementQualifier, similar, skippedComparison, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DiffWithMultiLevelQualifier
public DiffWithMultiLevelQualifier(org.w3c.dom.Document controlDocument,
org.w3c.dom.Document testedDocument)
- Constructor of XmlUnit Diff with MultiLevelElementNameAndTextQualifier(2)
- Parameters:
controlDocument
- XML document that contains expected resultstestedDocument
- XML document which is being tested
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.