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 float restricted SimpleType with enumeration values 65556.05328541E-18, 16777215.999999999999E31, 5964894.839E-9, 16777215.999999999999E-81. 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 5964894.839E-9, 65556.05328541E-18, 0.0 for the float restricted SimpleType NISTSchema-float-enumeration-2 element and expects validation to pass. Unmarshalled001
The test unmarshalls enumeration-2-4.xml document, sets the invalid values 1.0, Float.MAX_VALUE, Float.NEGATIVE_INFINITY, Float.NaN for the float restricted SimpleType NISTSchema-float-enumeration-2 element and expects validation to fail. Unmarshalled002
The test creates the float restricted SimpleType NISTSchema-float-enumeration-2 element with a valid value, sets its value to 5964894.839E-9, 65556.05328541E-18, 0.0 and expects validation to pass. Created001
The test creates the float restricted SimpleType NISTSchema-float-enumeration-2 element with a valid value, sets its value to 1.0, Float.MAX_VALUE, Float.NEGATIVE_INFINITY, Float.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._float.enumeration.enumeration_2.enumeration2_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema enumeration-2.xsd
keywords positive document runtime
package javasoft.sqe.tests._float.enumeration.enumeration_2


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