TEST Binder_CTTests - Provides Binder implementation tests
Description | TestCase |
---|---|
The test unmarshals DOM tree into Jakarta XML Binding object. Test checks that getJAXBNode(org.w3c.dom.Node) navigates to correct element of complex Jakarta XML Binding object | navigation001 |
Throws: IllegalArgumentException - If the node parameter is null | getJAXBNode002 |
returns null if the specified XML node is not known to this Binder, or if it is not associated with a Jakarta XML Binding object. | getJAXBNode003 |
returns null if the specified XML node is not known to this Binder, or if it is not associated with a Jakarta XML Binding object. | getJAXBNode004 |
The test unmarshals DOM tree into Jakarta XML Binding object. Test checks that getXMLNode(java.lang.Object) navigates to correct element of DOM tree. | navigation002 |
Throws: IllegalArgumentException - If the jaxbObject parameter is null | getXMLNode002 |
Returns: null if the specified Jakarta XML Binding object is not known to this Binder, or if it is not associated with an XML element. | getXMLNode003 |
Returns: null if the specified Jakarta XML Binding object is not known to this Binder, or if it is not associated with an XML element. | getXMLNode004 |
The test creates bound XML and Jakarta XML Binding object infosets by unmarshalling XML data. Then test updates Jakarta XML Binding object and calls Binder.updateXML method. No exception should be thrown. Test verifies that XML infoset is updated properly. | update001 |
updateXML(Object) throws IllegalArgumentException - If the jaxbObject parameter is null | updateXML002 |
updateXML(Object, Node) throws IllegalArgumentException - If any of the input parameters are null | updateXML004 |
updateXML(Object, Node) Changes in Jakarta XML Binding object tree are updated in its associated XML parse tree. | updateXML005 |
The test creates bound XML and Jakarta XML Binding object infosets by unmarshalling XML data. Then test updates XML data and calls Binder.updateJAXB method. No exception should be thrown. Test verifies that Jakarta XML Binding object is updated properly. | update002 |
updateJAXB() Throws: IllegalArgumentException - If node parameter is null | updateJAXB002 |
updateJAXB() Throws: JAXBException - If any unexpected problem occurs updating corresponding Jakarta XML Binding mapped content. | updateJAXB003 |
Item | Value |
---|---|
title | Binder_CTTests - Provides Binder implementation tests |
name | Binder_CTTests |
source | Address.java Items.java PurchaseOrder.java List.java ObjectFactory.java package-info.java Binder_CTTests.java |
schemaName | Binder.xsd |
executeClass | javasoft.sqe.tests.bind.binder.Binder_CTTests |
executeArgs | -TestURL $testURL -package $package -schema Binder.xsd |
keywords | positive document runtime |
package | javasoft.sqe.tests.bind.binder |