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


TEST maxExclusive5_GetSetCTTests - maxExclusive5 GetSet Tree Content tests

DESCRIPTION

The test maxExclusive5_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls maxExclusive-5-1.xml,...,maxExclusive-5-5.xml documents which specify the values -99999999999999999999, -11466563564055742843, -83552316009832472421, -91208688337671084412, -2 for the negativeInteger restricted SimpleType NISTSchema-negativeInteger-maxExclusive-5 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue(byte), elemObj.getValue() should return set value. GetSet001
The test creates an instance of negativeInteger restricted SimpleType NISTSchema-negativeInteger-maxExclusive-5 type with the values: -99999999999999999999, -11466563564055742843, -83552316009832472421, -91208688337671084412, -2 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(byte) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title maxExclusive5_GetSetCTTests - maxExclusive5 GetSet Tree Content tests
name maxExclusive5_GetSetCTTests
source maxExclusive-5.xsd maxExclusive5_GetSetCTTests.java
schemaName maxExclusive-5.xsd
executeClass javasoft.sqe.tests.negativeinteger.maxexclusive.maxexclusive_5.maxExclusive5_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema maxExclusive-5.xsd
keywords positive document runtime
package javasoft.sqe.tests.negativeinteger.maxexclusive.maxexclusive_5


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