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: @XmlType.name() can be used to customize an XML name.

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source Name012s.java Name012.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j Name012s.java -d Name012.p.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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: @XmlType.name() can be used to customize an XML name.

FILES

ItemValue
title testCase0002 - XmlElement
name testCase0002
source Name012s.java Name012.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j Name012s.java -n -d Name012.n.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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