Compile a simple schema to create a java binding classes. Test jakarta.xml.bind.JAXBIntrospector using this context.


TEST JAXBIntrospector_CTTests - jakarta.xml.bind.JAXBIntrospector tests

DESCRIPTION

The test JAXBIntrospector_CTTests.java contains the following test cases:

DescriptionTestCase
isElement(Object object) returns true if an object is JAXBElement isElement001
isElement(Object object) returns true if an object is recognized by current JAXBContext and annotated with XmlRootElement isElement002
isElement(Object object) returns false if object is not annotated with XmlRootElement,and not an JAXBElement isElement003
getElementName(Object jaxbElement) returns null if object is not annotated with XmlRootElement,and not an JAXBElement getElementName001
Test unmarshalls a simple content tree and verifies that getElementName(Object jaxbElement) returns a correct element name. getElementName002
Tests a convenience method JAXBIntrospector.getValue() getValue001

FILES

ItemValue
title JAXBIntrospector_CTTests - jakarta.xml.bind.JAXBIntrospector tests
name JAXBIntrospector_CTTests
source Element.java ChildType.java RootType.java ObjectFactory.java package-info.java JAXBIntrospector_CTTests.java
schemaName Introspector.xsd
executeClass javasoft.sqe.tests.bind.introspector.JAXBIntrospector_CTTests
executeArgs -TestURL $testURL -package $package -schema Introspector.xsd
keywords positive document runtime
package javasoft.sqe.tests.bind.introspector


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