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_ValidateCTTests - maxInclusive3 Validate Tree Content tests

DESCRIPTION

The test maxInclusive3_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls maxInclusive-3-1.xml document, sets valid values 0.0, -Double.MIN_VALUE, -1.0, -Double.MAX_VALUE, Double.NEGATIVE_INFINITY for the double restricted SimpleType NISTSchema-double-maxInclusive-3 element and expects validation to pass. Unmarshalled001
The test unmarshalls maxInclusive-3-1.xml document, sets the value to 1.0, Double.NaN, Double.MIN_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY for the double restricted SimpleType NISTSchema-double-maxInclusive-3 element and expects validation to fail. Unmarshalled002
The test creates the double restricted SimpleType NISTSchema-double-maxInclusive-3 element with a valid value, sets its value to 0.0, -Double.MIN_VALUE, -1.0, -Double.MAX_VALUE, Double.NEGATIVE_INFINITY then expects validation to pass. Created001
The test creates the double restricted SimpleType NISTSchema-double-maxInclusive-3 element with a valid value, sets its value to 1.0, Double.NaN, Double.MIN_VALUE, Double.MAX_VALUE, Double.POSITIVE_INFINITY then expects validation to fail. Created002

FILES

ItemValue
title maxInclusive3_ValidateCTTests - maxInclusive3 Validate Tree Content tests
name maxInclusive3_ValidateCTTests
source maxInclusive-3.xsd maxInclusive3_ValidateCTTests.java
schemaName maxInclusive-3.xsd
executeClass javasoft.sqe.tests._double.maxinclusive.maxinclusive_3.maxInclusive3_ValidateCTTests
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.