TEST testCase0001 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00046
          Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
          @XmlAccessorType(AccessType.PROPERTY)
          PROPERTY - Every getter/setter pair in a Jakarta XML Binding-bound class will be automatically bound to XML, unless annotated by XmlTransient.
          Note: Positive test. Xml consists of all required properties without extra fields or properties.
FILES
| Item | Value | 
|---|
  
      | title | testCase0001 - XmlAccessorType | 
  
      | name | testCase0001 | 
  
      | source | srcProperty.java posProperty1.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.srcProperty.src -j srcProperty.java -d posProperty1.xml -TestURL $testURL | 
TEST testCase0002 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00046
          Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
          @XmlAccessorType(AccessType.PROPERTY)
          PROPERTY - Every getter/setter pair in a Jakarta XML Binding-bound class will be automatically bound to XML, unless annotated by XmlTransient.
          Note: Negative test. Required property is absent in xml file.
FILES
| Item | Value | 
|---|
  
      | title | testCase0002 - XmlAccessorType | 
  
      | name | testCase0002 | 
  
      | source | srcProperty.java negProperty1.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.srcProperty.src -j srcProperty.java -n -d negProperty1.xml -TestURL $testURL | 
TEST testCase0003 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00046
          Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
          @XmlAccessorType(AccessType.PROPERTY)
          PROPERTY - Every getter/setter pair in a Jakarta XML Binding-bound class will be automatically bound to XML, unless annotated by XmlTransient.
          Note: Negative test. Xml file contains extraneous field
FILES
| Item | Value | 
|---|
  
      | title | testCase0003 - XmlAccessorType | 
  
      | name | testCase0003 | 
  
      | source | srcProperty.java negProperty2.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.srcProperty.src -j srcProperty.java -n -d negProperty2.xml -TestURL $testURL | 
TEST testCase0004 - XmlAccessorType
DESCRIPTION
Jakarta XML Binding specification assertion: JAXB:SPEC:J2S:00046
          Mapping: @XmlAccessorType annotation allows control over default serialization of fields and properties.
          @XmlAccessorType(AccessType.PROPERTY)
          PROPERTY - Every getter/setter pair in a Jakarta XML Binding-bound class 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 | testCase0004 - XmlAccessorType | 
  
      | name | testCase0004 | 
  
      | source | srcProperty.java negProperty3.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.srcProperty.src -j srcProperty.java -n -d negProperty3.xml -TestURL $testURL | 
%Copyright% © 2017, 2020 Oracle and/or its affiliates. All rights reserved.