TEST testCase0001 - XmlElement

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:1063
@XmlType is used to map a Java class to a schema type.
The schema type is computed from its annotation element values.
If a class annotated with the @XmlType annotation, then the following mapping constraints must be enforced:
If factoryClass() is DEFAULT.class and factoryMethod() is not "", then factoryMethod() be a method in this class. Negative test.

ItemValue
title testCase0001 - XmlElement
name testCase0001
source package-info.java Constraint007a.java Constraint007b.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords runtime jaxb rtgen
executeArgs -out $testWorkDir -neggen -class CustomizedMapping.classes.XmlType.constraint.Constraint007a -class CustomizedMapping.classes.XmlType.constraint.Constraint007b -j package-info.java:Constraint007a.java:Constraint007b.java -TestURL $testURL


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