Item | Value |
---|---|
title | Constraint005 - XmlElement |
name | Constraint005 |
source | package-info.java Constraint005a.java Constraint005b.java package-info.java Constraint005a.java Constraint005b.java |
executeClass | javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest |
keywords | negative runtime java_to_schema jaxb |
executeArgs | -j package-info.java:Constraint005a.java:Constraint005b.java -TestURL $testURL |
selectIf | toTestOptionalSchemagen |
Test cases description:
description | Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:0063 @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 other than DEFAULT.class, then factoryMethod() must be specified (i.e. the default value "" cannot be used.) Negative test. |
---|