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 field that is annotated with @XmlValue then class must be mapped as specified: If class is annotated with @XmlType(name=""), then class is mapped to an anonymous type.

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source Name006s.java Name006.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.Name006.Name006s -j Name006s.java -d Name006.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 field that is annotated with @XmlValue then class must be mapped as specified: If class is annotated with @XmlType(name=""), then class is mapped to an anonymous type.

FILES

ItemValue
title testCase0002 - XmlElement
name testCase0002
source Name006s.java Name006.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.Name006.Name006s -j Name006s.java -n -d Name006.n.xml -TestURL $testURL


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