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 float restricted SimpleType with maxExclusive value 8252374.886537892539E-13. 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-1.xml document, sets valid values 0.0F, 8252374.786537892539E-14F, -Float.MAX_VALUE, Float.NEGATIVE_INFINITY for the float restricted SimpleType NISTSchema-float-maxExclusive-2 element and expects validation to pass. Unmarshalled001
The test unmarshalls maxExclusive-2-1.xml document, sets the values 8252374.886537892539E-13, 1.0, Float.MAX_VALUE, Float.POSITIVE_INFINITY, Float.NaN for the float restricted SimpleType NISTSchema-float-maxExclusive-2 element and expects validation to fail. Unmarshalled002
The test creates the float restricted SimpleType NISTSchema-float-maxExclusive-2 element with a valid value, sets its value to 0.0F, 8252374.786537892539E-14F, -Float.MAX_VALUE, Float.NEGATIVE_INFINITY then expects validation to pass. Created001
The test creates the float restricted SimpleType NISTSchema-float-maxExclusive-2 element with a valid value, sets its value to 8252374.886537892539E-13, 1.0, Float.MAX_VALUE, Float.POSITIVE_INFINITY, 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._float.maxexclusive.maxexclusive_2.maxExclusive2_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema maxExclusive-2.xsd
keywords positive document runtime
package javasoft.sqe.tests._float.maxexclusive.maxexclusive_2


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