TEST testCase0001 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Positive test. Xml consists of all required fileds and properties
without extra fields or properties.
FILES
Item | Value |
title |
testCase0001 - XmlAccessorType |
name |
testCase0001 |
source |
srcDefault.java posPublic1.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.srcDefault.src -j srcDefault.java -d posPublic1.xml -TestURL $testURL |
TEST testCase0002 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Required field is absent in xml file.
FILES
Item | Value |
title |
testCase0002 - XmlAccessorType |
name |
testCase0002 |
source |
srcDefault.java negPublic1.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.srcDefault.src -j srcDefault.java -n -d negPublic1.xml -TestURL $testURL |
TEST testCase0003 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Required property is absent in xml file.
FILES
Item | Value |
title |
testCase0003 - XmlAccessorType |
name |
testCase0003 |
source |
srcDefault.java negPublic2.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.srcDefault.src -j srcDefault.java -n -d negPublic2.xml -TestURL $testURL |
TEST testCase0004 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Xml file contains extraneous field (field with a default access in java file)
FILES
Item | Value |
title |
testCase0004 - XmlAccessorType |
name |
testCase0004 |
source |
srcDefault.java negPublic3.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.srcDefault.src -j srcDefault.java -n -d negPublic3.xml -TestURL $testURL |
TEST testCase0005 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Xml file contains extraneous property (getter/setter with a default access in java file)
FILES
Item | Value |
title |
testCase0005 - XmlAccessorType |
name |
testCase0005 |
source |
srcDefault.java negPublic4.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.srcDefault.src -j srcDefault.java -n -d negPublic4.xml -TestURL $testURL |
TEST testCase0006 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Xml file contains extraneous field (transient field in java file)
FILES
Item | Value |
title |
testCase0006 - XmlAccessorType |
name |
testCase0006 |
source |
srcDefault.java negPublic5.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.srcDefault.src -j srcDefault.java -n -d negPublic5.xml -TestURL $testURL |
TEST testCase0007 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00044
Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
XmlAccessorType(AccessType.PUBLIC_MEMBER) By Default
PUBLIC_MEMBER - Every public getter/setter pair and every public field
will be automatically bound to XML, unless annotated by XmlTransient.
Note: Negative test. Xml file contains extraneous property (transient getter/setter in java file)
FILES
Item | Value |
title |
testCase0007 - XmlAccessorType |
name |
testCase0007 |
source |
srcDefault.java negPublic6.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.srcDefault.src -j srcDefault.java -n -d negPublic6.xml -TestURL $testURL |
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.