The tests for checking the content of trees got by unmarshalling of the pattern-3.xsd based XML documents and created dynamically via ObjectFactory. The schema defines a positiveInteger restricted SimpleType with pattern value "\d{9}". Various XML documents specify various values in the element.


TEST pattern3_GetSetCTTests - pattern3 GetSet Tree Content tests

DESCRIPTION

The test pattern3_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls pattern-3-1.xml,...,pattern-3-5.xml documents which specify the values 795905660, 668632899, 918781739, 484972174, 536704944 for the positiveInteger restricted SimpleType NISTSchema-positiveInteger-pattern-3 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue(positiveInteger), elemObj.getValue() should return set value. GetSet001
The test creates an instance of positiveInteger restricted SimpleType NISTSchema-positiveInteger-pattern-3 type with the values 795905660, 668632899, 918781739, 484972174, 536704944 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(positiveInteger) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title pattern3_GetSetCTTests - pattern3 GetSet Tree Content tests
name pattern3_GetSetCTTests
source pattern-3.xsd pattern3_GetSetCTTests.java
schemaName pattern-3.xsd
executeClass javasoft.sqe.tests.positiveinteger.pattern.pattern_3.pattern3_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema pattern-3.xsd
keywords positive document runtime
package javasoft.sqe.tests.positiveinteger.pattern.pattern_3


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