TEST testCase0001 - XmlType

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlType {content type} Mapping: Class to Complex Type Definition {content type} simpleContent if : a. no property or field is annotated with @XmlElement b. and one or more properties or fields is annotated with @XmlAttribute c. and one property is annotated with @XmlValue.

FILES

ItemValue
title testCase0001 - XmlType
name testCase0001
source package-info.java ContentType003c.java ContentType003.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.contenttype.ContentType003c -j package-info.java:ContentType003c.java -d ContentType003.p.xml -TestURL $testURL


TEST testCase0002 - XmlType

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlType {content type} Mapping: Class to Complex Type Definition {content type} simpleContent if : a. no property or field is annotated with @XmlElement b. and one or more properties or fields is annotated with @XmlAttribute c. and one property is annotated with @XmlValue.

FILES

ItemValue
title testCase0002 - XmlType
name testCase0002
source package-info.java ContentType003c.java ContentType003.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.contenttype.ContentType003c -j package-info.java:ContentType003c.java -n -d ContentType003.n.xml -TestURL $testURL


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