The tests for validating the content of changed trees got by unmarshalling of the minInclusive-4.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a double restricted SimpleType with minInclusive value of 2184496617705160E-251. Various XML documents specify various values in the element.


TEST minInclusive4_ValidateCTTests - minInclusive4 Validate Tree Content tests

DESCRIPTION

The test minInclusive4_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minInclusive-4-1.xml document, sets valid values 2184496617705160E-251, 4628387998593314E-117, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN for the double restricted SimpleType NISTSchema-double-minInclusive-4 element and expects validation to pass. Unmarshalled001
The test unmarshalls minInclusive-4-1.xml document, sets the invalid values 0.0, Double.MIN_VALUE, -Double.MAX_VALUE, Double.NEGATIVE_INFINITY for the double restricted SimpleType NISTSchema-double-minInclusive-4 element and expects validation to fail. Unmarshalled002
The test creates the double restricted SimpleType NISTSchema-double-minInclusive-4 element with a valid value, sets its value to 2184496617705160E-251, 4628387998593314E-117, Double.MAX_VALUE, Double.POSITIVE_INFINITY, Double.NaN then expects validation to pass. Created001
The test creates the double restricted SimpleType NISTSchema-double-minInclusive-4 element with a valid value, sets its value to 0.0, Double.MIN_VALUE, -Double.MAX_VALUE, Double.NEGATIVE_INFINITY then expects validation to fail. Created002

FILES

ItemValue
title minInclusive4_ValidateCTTests - minInclusive4 Validate Tree Content tests
name minInclusive4_ValidateCTTests
source minInclusive-4.xsd minInclusive4_ValidateCTTests.java
schemaName minInclusive-4.xsd
executeClass javasoft.sqe.tests._double.mininclusive.mininclusive_4.minInclusive4_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema minInclusive-4.xsd
keywords positive document runtime
package javasoft.sqe.tests._double.mininclusive.mininclusive_4


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