10.4 Test Assert Methods

10.4 Test Assert Methods

The descriptions in the following list are based on the Javadocs for the class XMLTestCase , which contains all of the following test assert methods. The test assert methods use the classes Diff , Validator , NodeTest , and NodeTester from the package org.custommonkey.xmlunit . They also use the interface org.w3c.dom.Document and the class java.io.Reader . The fully qualified package names for these classes are omitted here. Most of the assert methods have variants that perform a given test on either a DOM Document or String representation of XML content.