TEST testCase0001 - XmlElement

DESCRIPTION

Positive test. Assertion from Jakarta XML Binding Specification - @XmlRootElement {name}: Mapping: Class to Element Declaration if @XmlRootElement.name() is ?##default?, then the XML name derived from the class name as specified: A class name is mapped to an XML name by decapitalization using java.beans.Introspector.decapitalize(class name ).

FILES

ItemValue
title testCase0001 - XmlElement
name testCase0001
source Name001.java Name001.p.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j Name001.java -d Name001.p.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


TEST testCase0002 - XmlElement

DESCRIPTION

Negative test. Assertion from Jakarta XML Binding Specification - @XmlRootElement {name}: Mapping: Class to Element Declaration if @XmlRootElement.name() is ?##default?, then the XML name derived from the class name as specified: A class name is mapped to an XML name by decapitalization using java.beans.Introspector.decapitalize(class name ).

FILES

ItemValue
title testCase0002 - XmlElement
name testCase0002
source Name001.java Name001.n.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.SchemaGenTest
keywords positive java_to_schema runtime jaxb
executeArgs -j Name001.java -n -d Name001.n.xml -TestURL $testURL
selectIf toTestOptionalSchemagen


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