TEST testCase0001 - XmlAccessorType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00047
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.

XmlAccessorType(AccessType.NONE)
NONE - None of the fields or properties is bound to XML unless
they are specifically annotated with some of the Jakarta XML Binding annotations.
Note: Positive test. Xml consists of all required fileds and properties
that are specifically annotated with some of the Jakarta XML Binding annotations without extra fields or properties.

FILES

ItemValue
title testCase0001 - XmlAccessorType
name testCase0001
source srcNone.java posNone1.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords runtime positive jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.packages.XmlAccessorType.srcNone.src -j srcNone.java -d posNone1.xml -TestURL $testURL


TEST testCase0002 - XmlAccessorType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00047
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.

XmlAccessorType(AccessType.NONE)
NONE - None of the fields or properties is bound to XML unless
they are specifically annotated with some of the Jakarta XML Binding annotations.
Note: Negative test. Required field that are specifically annotated with some of the Jakarta XML Binding annotations is absent in xml file.

FILES

ItemValue
title testCase0002 - XmlAccessorType
name testCase0002
source srcNone.java negNone1.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords runtime positive jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.packages.XmlAccessorType.srcNone.src -j srcNone.java -n -d negNone1.xml -TestURL $testURL


TEST testCase0003 - XmlAccessorType

DESCRIPTION

Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00047
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.

XmlAccessorType(AccessType.NONE)
NONE - None of the fields or properties is bound to XML unless
they are specifically annotated with some of the Jakarta XML Binding annotations.
Note: Negative test. Xml consists of public fileds and properties that are not specifically annotated with some of the Jakarta XML Binding annotations

FILES

ItemValue
title testCase0003 - XmlAccessorType
name testCase0003
source srcNone.java negNone2.xml
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.J2XRuntimeTest
keywords runtime positive jaxb rtgen
executeArgs -out $testWorkDir -class javasoft.sqe.tests.java2schema.CustomizedMapping.packages.XmlAccessorType.srcNone.src -j srcNone.java -n -d negNone2.xml -TestURL $testURL


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