The tests for checking the content of trees got by unmarshalling of the maxInclusive-4.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a float restricted SimpleType with maxInclusive value 13663412E67 that corresponds to INF value of the basic value space of type float. Various XML documents specify various values in the element.


TEST maxInclusive4_GetSetCTTests - maxInclusive4 GetSet Tree Content tests

DESCRIPTION

The test maxInclusive4_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls maxInclusive-4-1.xml, maxInclusive-4-2.xml, maxInclusive-4-3.xml, maxInclusive-4-4.xml, maxInclusive-4-5.xml documents which specify the values 1E-149, 4837947E-135, 7861749E-76, 4391583E-13, 13663412E67 for the float restricted SimpleType NISTSchema-float-maxInclusive-4 element and expects that elemObj.getValue() returns respectively 0.0F, 0.0F, 0.0F, 4.391583E-7F, Infinity, then invokes elemObj.setValue(float), elemObj.getValue() should return set value. GetSet001
The test creates an instance of float restricted SimpleType NISTSchema-float-maxInclusive-4 type with the values 0.0F, 4.391583E-7F, Infinity and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue(float) with various values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title maxInclusive4_GetSetCTTests - maxInclusive4 GetSet Tree Content tests
name maxInclusive4_GetSetCTTests
source maxInclusive-4.xsd maxInclusive4_GetSetCTTests.java
schemaName maxInclusive-4.xsd
executeClass javasoft.sqe.tests._float.maxinclusive.maxinclusive_4.maxInclusive4_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema maxInclusive-4.xsd
keywords positive document runtime
package javasoft.sqe.tests._float.maxinclusive.maxinclusive_4


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