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


TEST totalDigits3_GetSetCTTests - totalDigits3 GetSet Tree Content tests

DESCRIPTION

The test totalDigits3_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls totalDigits-3-1.xml,...,totalDigits-3-5.xml documents which specify the values -4, -492, -67735, -1115869, -325024874 for the negativeInteger restricted SimpleType NISTSchema-negativeInteger-totalDigits-3 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue(negativeInteger), elemObj.getValue() should return set value. GetSet001
The test creates an instance of negativeInteger restricted SimpleType NISTSchema-negativeInteger-totalDigits-3 type with the values -4, -492, -67735, -999999999, -325024874 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(negativeInteger) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title totalDigits3_GetSetCTTests - totalDigits3 GetSet Tree Content tests
name totalDigits3_GetSetCTTests
source totalDigits-3.xsd totalDigits3_GetSetCTTests.java
schemaName totalDigits-3.xsd
executeClass javasoft.sqe.tests.negativeinteger.totaldigits.totaldigits_3.totalDigits3_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema totalDigits-3.xsd
keywords positive document runtime
package javasoft.sqe.tests.negativeinteger.totaldigits.totaldigits_3


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