Compile a simple schema to create a java binding classes. Test the class jakarta.xml.bind.helpers.AbstractMarshallerImpl using this context.


TEST AbstractMarshallerImpl_CTTests - Partial default Marshaller implementation tests. (content tree test)

DESCRIPTION

The test AbstractMarshallerImpl_CTTests.java contains the following test cases:

DescriptionTestCase
The default event handler is returned by getEventHandler() if no handler has been set. Get001
getJavaEncoding(name) throws UnsupportedEncodingException if the implementation couldn't find the Java encoding name. Get002
getProperty(name) throws PropertyException when there is an error retrieving the given property or value property name. Get003
setProperty("jaxb.encoding", "UTF-8"), then expect getProperty("jaxb.encoding") to return what has been set. Get004
marshal(Object obj, ContentHandler handler) marshals the content tree rooted at obj into SAX2 events. Marshal001
marshal(Object obj, Node node) marshals the content tree rooted at obj into a DOM tree. Marshal002
marshal(Object obj, OutputStream os) marshals the content tree rooted at obj into an output stream. Marshal003
marshal(Object obj, Writer w) marshals the content tree rooted at obj into a Writer. Marshal004
setEventHandler(ValidationEventHandler handler) allows an application to register a validation event handler. Set001

FILES

ItemValue
title AbstractMarshallerImpl_CTTests - Partial default Marshaller implementation tests. (content tree test)
name AbstractMarshallerImpl_CTTests
source ObjectFactory.java AbstractMarshallerImpl_CTTests.java
schemaName AbstractMarshallerImpl.xsd
executeClass javasoft.sqe.tests.bind.helpers.abstractmarshallerimpl.AbstractMarshallerImpl_CTTests
executeArgs -TestURL $testURL -package $package -schema AbstractMarshallerImpl.xsd
keywords positive document runtime
package javasoft.sqe.tests.bind.helpers.abstractmarshallerimpl


%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.