Uses of Class
org.xmlunit.assertj.XmlAssert
-
Uses of XmlAssert in org.xmlunit.assertj
Modifier and TypeMethodDescriptionstatic XmlAssert
XmlAssert.assertThat
(Object o) Factory method forXmlAssert
ValueAssert.asXml()
Returns anXmlAssert
object that allows performing assertions on XML value of theString
under test.Returns anXmlAssert
object that allows performing assertions on XML value of theString
under test wrapping around tag with name given in wrapNodeName.XmlAssert.isInvalid()
Check if actual value is not valid against W3C XML SchemaXmlAssert.isNotValidAgainst
(Object... schemaSources) Check if actual value is not valid against schema provided by given sourcesXmlAssert.isNotValidAgainst
(Schema schema) Check if actual value is not valid against given schemaXmlAssert.isValid()
Check if actual value is valid against W3C XML SchemaXmlAssert.isValidAgainst
(Object... schemaSources) Check if actual value is valid against schema provided by given sourcesXmlAssert.isValidAgainst
(Schema schema) Check if actual value is valid against given schemaXmlAssert.withDocumentBuilderFactory
(DocumentBuilderFactory dbf) Sets theDocumentBuilderFactory
to use when creating aDocument
from the XML input.XmlAssert.withNamespaceContext
(Map<String, String> prefix2Uri) Utility method used for creating a namespace context mapping to be used in XPath matching.XmlAssert.withXPathFactory
(XPathFactory xpf) Sets theXPathFactory
to use for XPath related assertions.