The tests for validating the content of changed trees got by unmarshalling of the minLength-1.xsd based XML documents or created dynamically via ObjectFactory. The schema defines an anyURI restricted SimpleType with minLength value 11. Various XML documents specify various values in the element.


TEST minLength1_ValidateCTTests - minLength1 Validate Tree Content tests

DESCRIPTION

The test minLength1_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minLength-1-4.xml document, sets valid values "ftp://x.gov/", "ftp://ftp.networkingint.gov/", "mailto:thosebas@withbyofinformationXSLthi.gov", "gopher://wirelesscreatedbothincludesmatcharoundindustryco.org/", "mailto:metrologya@improvedmechanismcomputingprocessWithinErrorsimagestheref.com" for the anyURI restricted SimpleType NISTSchema-anyURI-minLength-1 element and expects validation to pass. Unmarshalled001
The test unmarshalls minLength-1-4.xml document, sets the invalid values "", "ftp://x.g/", for the anyURI restricted SimpleType NISTSchema-anyURI-minLength-1 element and expects validation to fail. Unmarshalled002
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-minLength-1 element with a valid value, sets its value to "ftp://x.gov/", "ftp://ftp.networkingint.gov/", "mailto:thosebas@withbyofinformationXSLthi.gov", "gopher://wirelesscreatedbothincludesmatcharoundindustryco.org/", "mailto:metrologya@improvedmechanismcomputingprocessWithinErrorsimagestheref.com" and expects validation to pass. Created001
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-minLength-1 element with a valid value, sets its value to "", "ftp://x.g/", then expects validation to fail. Created002

FILES

ItemValue
title minLength1_ValidateCTTests - minLength1 Validate Tree Content tests
name minLength1_ValidateCTTests
source minLength-1.xsd minLength1_ValidateCTTests.java
schemaName minLength-1.xsd
executeClass javasoft.sqe.tests.anyuri.minlength.minlength_1.minLength1_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema minLength-1.xsd
keywords positive document runtime
package javasoft.sqe.tests.anyuri.minlength.minlength_1


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