The tests for validating the content of changed trees got by unmarshalling of the maxExclusive-2.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a double restricted SimpleType with maxExclusive value of 1426699201180684.8415E689 that corresponds to INF. Various XML documents specify various values in the element.


TEST maxExclusive2_ValidateCTTests - maxExclusive2 Validate Tree Content tests

DESCRIPTION

The test maxExclusive2_ValidateCTTests.java contains the following test cases:

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

FILES

ItemValue
title maxExclusive2_ValidateCTTests - maxExclusive2 Validate Tree Content tests
name maxExclusive2_ValidateCTTests
source maxExclusive-2.xsd maxExclusive2_ValidateCTTests.java
schemaName maxExclusive-2.xsd
executeClass javasoft.sqe.tests._double.maxexclusive.maxexclusive_2.maxExclusive2_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema maxExclusive-2.xsd
keywords positive document runtime
package javasoft.sqe.tests._double.maxexclusive.maxexclusive_2


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