Package | Description |
---|---|
org.xmlunit.assertj |
AssertJ assertions on top of XMLUnit's core.
|
Modifier and Type | Method and Description |
---|---|
static XmlAssert |
XmlAssert.assertThat(java.lang.Object o)
Factory method for
XmlAssert |
XmlAssert |
ValueAssert.asXml()
Returns an
XmlAssert object that allows performing assertions on XML value of the String under test. |
XmlAssert |
XmlAssert.isInvalid()
Check if actual value is not valid against W3C XML Schema
|
XmlAssert |
XmlAssert.isNotValidAgainst(java.lang.Object... schemaSources)
Check if actual value is not valid against schema provided by given sources
|
XmlAssert |
XmlAssert.isNotValidAgainst(javax.xml.validation.Schema schema)
Check if actual value is not valid against given schema
|
XmlAssert |
XmlAssert.isValid()
Check if actual value is valid against W3C XML Schema
|
XmlAssert |
XmlAssert.isValidAgainst(java.lang.Object... schemaSources)
Check if actual value is valid against schema provided by given sources
|
XmlAssert |
XmlAssert.isValidAgainst(javax.xml.validation.Schema schema)
Check if actual value is valid against given schema
|
XmlAssert |
XmlAssert.withDocumentBuilderFactory(javax.xml.parsers.DocumentBuilderFactory dbf)
Sets the
DocumentBuilderFactory to use when creating a
Document from the XML input. |
XmlAssert |
XmlAssert.withNamespaceContext(java.util.Map<java.lang.String,java.lang.String> prefix2Uri)
Utility method used for creating a namespace context mapping to be used in XPath matching.
|
XmlAssert |
XmlAssert.withXPathFactory(javax.xml.xpath.XPathFactory xpf)
Sets the
XPathFactory to use for XPath related assertions. |