Package org.appng.testsupport.validation
Types for validation of test data using XMLUnit
-
Class Summary Class Description AttributeValueDifferenceHandler ADifferenceListener
which ignores the values of certain attributes.
For example, if setting up aAttributeValueDifferenceHandler
like thisDateFieldDifferenceHandler ADateFieldDifferenceHandler
that ignores theDifference
in the value of aDatafield
of typeFieldType.DATE
.DifferenceHandler A convenienceDifferenceListener
with an emptyDifferenceHandler.skippedComparison(Node, Node)
-implementation.TextValueDifferenceHandler ADifferenceListener
which ignores the (text/cdata) values of certain elements.
For example, if setting up aTextValueDifferenceHandler
like thisWritingJsonValidator Utility class that supports testing if two JSON documents have the same content.WritingJsonValidator.JsonWrapper A wrapper class forAction
s andDatasource
sWritingXmlValidator Utility class that supports testing if two XML documents have the same content.XPathDifferenceHandler ADifferenceListener
which ignores theDifference
if the XPath of the node was added to ignorable expressions usingXPathDifferenceHandler.ignoreDifference(String)
.