The tests for checking the content of trees got by unmarshalling of the maxInclusive-3.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a double restricted SimpleType with maxInclusive value of 2868007748391511E-391 that corresponds to zero value of the basic value space of type double. Various XML documents specify various values in the element.


TEST maxInclusive3_GetSetCTTests - maxInclusive3 GetSet Tree Content tests

DESCRIPTION

The test maxInclusive3_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls maxInclusive-3-1.xml, maxInclusive-3-2.xml, maxInclusive-3-3.xml, maxInclusive-3-4.xml, maxInclusive-3-5.xml documents which specify the values 1E-1075, 1908143394954933E-880, 821963620586075E-396, 1732066263503805E-816, 2868007748391511E-391 for the double restricted SimpleType NISTSchema-double-maxInclusive-3 element and expects that elemObj.getValue() returns 0.0 in all the cases, then invokes elemObj.setValue(double), elemObj.getValue() should return set value. GetSet001
The test creates an instance of double restricted SimpleType NISTSchema-double-maxInclusive-3 type with the values 0.0, -Double.MIN_VALUE, -1.0, -Double.MAX_VALUE, Double.NEGATIVE_INFINITY and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(double) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title maxInclusive3_GetSetCTTests - maxInclusive3 GetSet Tree Content tests
name maxInclusive3_GetSetCTTests
source maxInclusive-3.xsd maxInclusive3_GetSetCTTests.java
schemaName maxInclusive-3.xsd
executeClass javasoft.sqe.tests._double.maxinclusive.maxinclusive_3.maxInclusive3_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema maxInclusive-3.xsd
keywords positive document runtime
package javasoft.sqe.tests._double.maxinclusive.maxinclusive_3


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