TEST Constraint003 - XmlElement

DESCRIPTION

Test of @XmlType annotations that is used to map a Java class to a schema type. The schema type is computed from its annotation element values.

FILES

Test cases included:

testCase0001.

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

Test cases description:

TestCase: testCase0001
description Negative test. Assertion from Jakarta XML Binding Specification - @XmlType If the class, subClass, extends another class, baseClass (other than java.lang.Object), then the subClass must not contain a mapped property or field annotated with @XmlValue annotation.


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