TEST MarshalUnmarshal_CTTests - Binder.unmarshal - Binder.marshal
Description | TestCase |
---|---|
The test checks that Binder{org.w3c.dom.Node}.unmarshal(org.w3c.dom.Node) unmarshals XML data from the DOM tree and return the resulting content tree. unmarshal(org.w3c.dom.Node) returns a non null object. The validation is switched off by default. | unmarshal001 |
The test checks that Binder{org.w3c.dom.Node}.unmarshal(org.w3c.dom.Node) unmarshals XML data from the DOM tree and return the resulting content tree. unmarshal(org.w3c.dom.Node) returns a non null object. The validation is switched on. | unmarshal002 |
The test checks that Binder{org.w3c.dom.Node}.unmarshal(org.w3c.dom.Node) unmarshals XML data from the DOM tree. The DOM tree is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(org.w3c.dom.Node) does not throw exception, returns a non-null object. | unmarshal003 |
This method throws UnmarshalException when the Binder's JAXBContext does not have a mapping for the XML element name or the type, specifiable via @xsi:type, of xmlNode to a Jakarta XML Binding mapped class. | unmarshal004 |
Throws: IllegalArgumentException - If the node parameter is null | unmarshal005 |
When getSchema() is non-null, xmlNode and its descendants is validated during this operation. | unmarshal006 |
Unmarshal XML root element by provided declaredType to a Jakarta XML Binding object tree. | unmarshal007 |
Throws: IllegalArgumentException - If any of the input parameters are null | unmarshal008 |
When getSchema() is non-null, xmlNode and its descendants is validated during this operation. | unmarshal009 |
The test checks that Binder{org.w3c.dom.Node}.marshal(java.lang.Object,org.w3c.dom.Node) marshals an Object data to a DOM tree. marshal(java.lang.Object,org.w3c.dom.Node) does not throw exception, resulting DOM is checked. | marshal001 |
The test checks that Binder{org.w3c.dom.Node}.marshal(java.lang.Object jaxbObject,org.w3c.dom.Node node) throws an IllegalArgumentException if jaxbObject parameter is null. | marshal002 |
The test checks that Binder{org.w3c.dom.Node}.marshal(java.lang.Object jaxbObject,org.w3c.dom.Node node) throws an IllegalArgumentException if node parameter is null. | marshal003 |
When getSchema() is non-null, the marshalled xml content is validated during this operation. | marshal004 |
Item | Value |
---|---|
title | MarshalUnmarshal_CTTests - Binder.unmarshal - Binder.marshal |
name | MarshalUnmarshal_CTTests |
source | MyValidationEventHandler.java MarshalUnmarshal_CTTests.java |
schemaName | Binder.xsd |
executeClass | javasoft.sqe.tests.bind.binder.MarshalUnmarshal_CTTests |
executeArgs | -TestURL $testURL -package $package -schema Binder.xsd |
keywords | positive document runtime |
package | javasoft.sqe.tests.bind.binder |