TEST Constraint004 - XmlElement

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:0065
@XmlType is used to map a Java class to a schema type.
The schema type is computed from its annotation element values.
@XmlType.propOrder must not include a field or property annotated with @XmlTransient. Negative test.

FILES

Test cases included:

testCase0001.

ItemValue
title Constraint004 - XmlElement
name Constraint004
source package-info.java Constraint004.java package-info.java Constraint004.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords negative runtime java_to_schema jaxb
executeArgs -j package-info.java:Constraint004.java -TestURL $testURL
selectIf toTestOptionalSchemagen

Test cases description:

TestCase: testCase0001
description Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:0065
@XmlType is used to map a Java class to a schema type.
The schema type is computed from its annotation element values.
@XmlType.propOrder must not include a field or property annotated with @XmlTransient. Negative test.


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