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


TEST minExclusive1_GetSetCTTests - minExclusive1 GetSet Tree Content tests

DESCRIPTION

The test minExclusive1_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minExclusive-1-1.xml,...,minExclusive-1-5.xml documents which specify the values 1, 198, 61, 216, 255 for the unsignedByte restricted SimpleType NISTSchema-unsignedByte-minExclusive-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 unsignedByte restricted SimpleType NISTSchema-unsignedByte-minExclusive-1 type with the values 1, 198, 61, 216, 255 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 minExclusive1_GetSetCTTests - minExclusive1 GetSet Tree Content tests
name minExclusive1_GetSetCTTests
source minExclusive-1.xsd minExclusive1_GetSetCTTests.java
schemaName minExclusive-1.xsd
executeClass javasoft.sqe.tests.unsignedbyte.minexclusive.minexclusive_1.minExclusive1_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema minExclusive-1.xsd
keywords positive document runtime
package javasoft.sqe.tests.unsignedbyte.minexclusive.minexclusive_1


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