1.

What is the use of supporting classes in XMLUnit?

Answer»

Supporting classes allow assertions to be made about−

  • The differences between two pieces of XML (via Diff and DetailedDiff classes).

  • The validity of a piece of XML (via Validator class).

  • The outcome of transforming a piece of XML using XSLT (via Transform class).

  • The evaluation of an XPath expression on a piece of XML (via classes implementing the XpathEngine interface).

  • Individual nodes in a piece of XML that are exposed by DOM Traversal (via NodeTest class).



Discussion

No Comment Found