TEST testCase0001 - XmlElement

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlType {name}: Mapping: Class to Simple Type Definition If the class contains a single mapped property that is annotated with @XmlValue then class must be mapped as specified: If @XmlType.name() is ?##default?, then a class name is mapped to an XML name by decapitalization using java.beans.Introspector.decapitalize(class name).

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source Name009s.java Name009.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlType.name.Name009.Name009s -j Name009s.java -d Name009.p.xml -TestURL $testURL


TEST testCase0002 - XmlElement

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlType {name}: Mapping: Class to Simple Type Definition If the class contains a single mapped property that is annotated with @XmlValue then class must be mapped as specified: If @XmlType.name() is ?##default?, then a class name is mapped to an XML name by decapitalization using java.beans.Introspector.decapitalize(class name).

FILES

ItemValue
title testCase0002 - XmlElement
name testCase0002
source Name009s.java Name009.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords positive runtime jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.classes.XmlType.name.Name009.Name009s -j Name009s.java -n -d Name009.n.xml -TestURL $testURL


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