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 int restricted SimpleType with pattern value "\-\d{1}". 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 -3, -1, -1, -3, -3 for the int restricted SimpleType NISTSchema-int-pattern-3 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue, elemObj.getValue() should return set value. GetSet001
The test creates an instance of int restricted SimpleType NISTSchema-int-pattern-3 type with the values -3, -1, -1, -3, -3 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue 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._int.pattern.pattern_3.pattern3_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema pattern-3.xsd
keywords positive document runtime
package javasoft.sqe.tests._int.pattern.pattern_3


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