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 with enumeration values of "ftp://theacomputersunambiguousnextOrganizationinvolvedhardw.edu/", "http://www.canthisthanmoretomanualshavetocommercedefineTherelatedwillu.org/", "ftp://wellsignifi.edu/", "ftp://ftp.ofthetremendousandgovernmentwhoDelawareindu.com/", "gopher://offerforensicsindustryexercisemanagetoensuretolawthelawrapid.edu/", "http://www.forestablishXML.org/", "ftp://ftp.ofallofmeettheforofmakevocabularyasbethisthetohelpandthed.org/", "telnet://filesoftheapplication.org/", "gopher://definingtheofXMLte.gov/", "ftp://intoautomatingprojectinclu.edu/", "ftp://ftp.commercetheadventembeddedtoStructuredandXM.com/", "telnet://capabilitiesAfromdisplayingkeyindustrykn.com/", "ftp://ftp.andtheprintmeans.com/", "gopher://Asaddition.gov/", "http://www.gprofilesasofrecentobjectsdirectionsandwi.com/", "http://www.vend.org/", "http://AnPervasivehasconsortiums.edu/", "http://toandlanguagetoreferencesetConfo.org/". Various XML documents specify various values in the element.


TEST enumeration2_ValidateCTTests - enumeration2 Validate Tree Content tests

DESCRIPTION

The test enumeration2_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls enumeration-2-4.xml document, sets valid values of "telnet://capabilitiesAfromdisplayingkeyindustrykn.com/", "ftp://ftp.andtheprintmeans.com/", "gopher://Asaddition.gov/", "http://www.gprofilesasofrecentobjectsdirectionsandwi.com/" for the anyURI restricted SimpleType NISTSchema-anyURI-enumeration-2 element and expects validation to pass. Unmarshalled001
The test unmarshalls enumeration-2-4.xml document, sets the invalid values of "", "ftp://ftp.andtheprintmeans.org/" for the anyURI restricted SimpleType NISTSchema-anyURI-enumeration-2 element and expects validation to fail. Unmarshalled002
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-enumeration-2 element with a valid value, sets its value to "telnet://capabilitiesAfromdisplayingkeyindustrykn.com/", "ftp://ftp.andtheprintmeans.com/", "gopher://Asaddition.gov/", "http://www.gprofilesasofrecentobjectsdirectionsandwi.com/" and expects validation to pass. Created001
The test creates the anyURI restricted SimpleType NISTSchema-anyURI-enumeration-2 element with a valid value, sets its value to "", "ftp://ftp.andtheprintmeans.org/" then expects validation to fail. Created002

FILES

ItemValue
title enumeration2_ValidateCTTests - enumeration2 Validate Tree Content tests
name enumeration2_ValidateCTTests
source enumeration-2.xsd enumeration2_ValidateCTTests.java
schemaName enumeration-2.xsd
executeClass javasoft.sqe.tests.anyuri.enumeration.enumeration_2.enumeration2_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema enumeration-2.xsd
keywords positive document runtime
package javasoft.sqe.tests.anyuri.enumeration.enumeration_2


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