The tests for validating the content of changed trees got by unmarshalling of the minInclusive-1.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a float restricted SimpleType with minInclusive value 1E-149 that maps to the value 0.0 of value space of float type. Various XML documents specify various values in the element.


TEST minInclusive1_ValidateCTTests - minInclusive1 Validate Tree Content tests

DESCRIPTION

The test minInclusive1_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minInclusive-1-1.xml document, sets valid values 0.0, 1020640E20, 4710493E-6, 11125265E-37, Float.MAX_VALUE, Float.POSITIVE_INFINITY, Float.NaN for the float restricted SimpleType NISTSchema-float-minInclusive-1 element and expects validation to pass. Unmarshalled001
The test unmarshalls minInclusive-1-1.xml document, sets the invalid values -1.0, -Float.MAX_VALUE, Float.NEGATIVE_INFINITY for the float restricted SimpleType NISTSchema-float-minInclusive-1 element and expects validation to fail. Unmarshalled002
The test creates the float restricted SimpleType NISTSchema-float-minInclusive-1 element with a valid value, sets its value to 0.0, 1020640E20, 4710493E-6, 11125265E-37, Float.MAX_VALUE, Float.POSITIVE_INFINITY, Float.NaN then expects validation to pass. Created001
The test creates the float restricted SimpleType NISTSchema-float-minInclusive-1 element with a valid value, sets its value to -1.0, -Float.MAX_VALUE, Float.NEGATIVE_INFINITY then expects validation to fail. Created002

FILES

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


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