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 an anyURI restricted SimpleType with length value 48. 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 "ftp://ftp.securityfordisseminateusestoperva.edu/", "mailto:applicationsbusi@personalandtheXMLfor.gov", "ftp://availableandtopervasivetheNISTSunsyst.org/", "ftp://ftp.matchandofverticaltestingNSRLandc.edu/", "http://requestingoftestingmeasurementtheane.edu/" for the anyURI restricted SimpleType NISTSchema-anyURI-length-2 element and expects that elemObj.getValue() returns appropriate String, then invokes elemObj.setValue(String), elemObj.getValue() should return set value. GetSet001
The test creates an instance of anyURI restricted SimpleType NISTSchema-anyURI-length-2 type with the values "ftp://ftp.securityfordisseminateusestoperva.edu", "mailto:applicationsbusi@personalandtheXMLfor.gov", "ftp://availableandtopervasivetheNISTSunsyst.org", "ftp://ftp.matchandofverticaltestingNSRLandc.edu", "http://requestingoftestingmeasurementtheane.edu" and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(String) 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.anyuri.length.length_2.length2_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema length-2.xsd
keywords positive document runtime
package javasoft.sqe.tests.anyuri.length.length_2


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