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


TEST minInclusive1_GetSetCTTests - minInclusive1 GetSet Tree Content tests

DESCRIPTION

The test minInclusive1_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minInclusive-1-1.xml,...,minInclusive-1-5.xml documents which specify the values -32768, 5779, 31937, 31801, 32767 for the short restricted SimpleType NISTSchema-short-minInclusive-1 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue(short), elemObj.getValue() should return set value. GetSet001
The test creates an instance of short restricted SimpleType NISTSchema-short-minInclusive-1 type with the values -32768, 5779, 31937, 31801, 32767 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(short) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title minInclusive1_GetSetCTTests - minInclusive1 GetSet Tree Content tests
name minInclusive1_GetSetCTTests
source minInclusive-1.xsd minInclusive1_GetSetCTTests.java
schemaName minInclusive-1.xsd
executeClass javasoft.sqe.tests._short.mininclusive.mininclusive_1.minInclusive1_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema minInclusive-1.xsd
keywords positive document runtime
package javasoft.sqe.tests._short.mininclusive.mininclusive_1


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