TEST Constraint001 - 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 Constraint001 - XmlElement
name Constraint001
source package-info.java Constraint001.java package-info.java Constraint001.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords negative java_to_schema runtime jaxb
executeArgs -j package-info.java:Constraint001.java -TestURL $testURL
selectIf toTestOptionalSchemagen

Test cases description:

TestCase: testCase0001
description Negative test. Assertion from Jakarta XML Binding Specification - @XmlType A class must have a public zero arg constructor or a factory method identified by {factoryClass(), factoryMethod()} unless it is adapted using @XmlJavaTypeAdapter.


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