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_ValidateCTTests - length2 Validate Tree Content tests

DESCRIPTION

The test length2_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls length-2-4.xml document, sets valid values "ftp://ftp.securityfordisseminateusestoperva.edu/", "mailto:applicationsbusi@personalandtheXMLfor.gov", "http://requestingoftestingmeasurementtheane.edu/" for the anyURI restricted SimpleType NISTSchema-anyURI-length-2 element and expects validation to pass. Unmarshalled001
The test unmarshalls length-2-4.xml document, sets the invalid values "", "mailto:length49length49@length49length49length49l", "mailto:length47length47@length47length47length4", restricted SimpleType NISTSchema-anyURI-length-2 element and expects validation to fail. Unmarshalled002
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-length-2 element with a valid value, sets its value to "ftp://ftp.securityfordisseminateusestoperva.edu/", "mailto:applicationsbusi@personalandtheXMLfor.gov", "http://requestingoftestingmeasurementtheane.edu/" and expects validation to pass. Created001
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-length-2 element with a valid value, sets its value to "", "mailto:length49length49@length49length49length49l", "mailto:length47length47@length47length47length4", then expects validation to fail. Created002

FILES

ItemValue
title length2_ValidateCTTests - length2 Validate Tree Content tests
name length2_ValidateCTTests
source length-2.xsd length2_ValidateCTTests.java
schemaName length-2.xsd
executeClass javasoft.sqe.tests.anyuri.length.length_2.length2_ValidateCTTests
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.