The tests for validating the content of changed trees got by unmarshalling of the enumeration-2.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a double restricted SimpleType with enumeration values 9007199254740991.9999E27, 2.3944717152800076842E241, 639305707.2827312E-1, 46356.58160931099E1, 17.223E-815, 48.62597E22 that corespond respectively to 9.007199254740992E42, 2.3944717152800076E241, 6.393057072827312E7, 463565.8160931099, 0.0, 4.862597E23. Various XML documents specify various values in the element.


TEST enumeration2_ValidateCTTests - enumeration2 Validate Tree Content tests

DESCRIPTION

The test enumeration2_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls enumeration-2-4.xml document, sets valid values 9.007199254740992E42, 2.3944717152800076E241, 6.393057072827312E7, 463565.8160931099, 0.0, 4.862597E23 for the double restricted SimpleType NISTSchema-double-enumeration-2 element and expects validation to pass. Unmarshalled001
The test unmarshalls enumeration-2-4.xml document, sets the invalid values 1.0, Double.MAX_VALUE, Double.NEGATIVE_INFINITY, Double.NaN for the double restricted SimpleType NISTSchema-double-enumeration-2 element and expects validation to fail. Unmarshalled002
The test creates the double restricted SimpleType NISTSchema-double-enumeration-2 element with a valid value, sets its value to 9.007199254740992E42, 2.3944717152800076E241, 6.393057072827312E7, 463565.8160931099, 0.0, 4.862597E23 and expects validation to pass. Created001
The test creates the double restricted SimpleType NISTSchema-double-enumeration-2 element with a valid value, sets its value to 1.0, Double.MAX_VALUE, Double.NEGATIVE_INFINITY, Double.NaN then expects validation to fail. Created002

FILES

ItemValue
title enumeration2_ValidateCTTests - enumeration2 Validate Tree Content tests
name enumeration2_ValidateCTTests
source enumeration-2.xsd enumeration2_ValidateCTTests.java
schemaName enumeration-2.xsd
executeClass javasoft.sqe.tests._double.enumeration.enumeration_2.enumeration2_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema enumeration-2.xsd
keywords positive document runtime
package javasoft.sqe.tests._double.enumeration.enumeration_2


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