The tests for validating the content of changed trees got by unmarshalling of the length-2.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a base64Binary restricted SimpleType with length value 2. Various XML documents specify various values in the element.


TEST length2_GetSetCTTests - length2 GetSet Tree Content tests

DESCRIPTION

The test length2_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls length-2-1.xml, length-2-2.xml, length-2-3.xml, length-2-4.xml, length-2-5.xml documents which specify the values "cmM=", "Ynk=", "cXM=", "a3c=", "c20=" for the base64Binary restricted SimpleType NISTSchema-base64Binary-length-2 element and expects that elemObj.getValue() returns appropriate byte sequences, then invokes elemObj.setValue(byte[]), elemObj.getValue() should return set value. GetSet001
The test creates an instance of base64Binary restricted SimpleType NISTSchema-base64Binary-length-2 type with the values "cmM=", "Ynk=", "cXM=", "a3c=", "c20=" and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(byte[]) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title length2_GetSetCTTests - length2 GetSet Tree Content tests
name length2_GetSetCTTests
source length-2.xsd length2_GetSetCTTests.java
schemaName length-2.xsd
executeClass javasoft.sqe.tests.base64binary.length.length_2.length2_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema length-2.xsd
keywords positive document runtime
package javasoft.sqe.tests.base64binary.length.length_2


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