The tests for validating the content of changed trees got by unmarshalling of the minExclusive-3.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a float restricted SimpleType with minExclusive value 3385806E15. Various XML documents specify various values in the element.


TEST minExclusive3_ValidateCTTests - minExclusive3 Validate Tree Content tests

DESCRIPTION

The test minExclusive3_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls minExclusive-3-1.xml document, sets valid values 3385806.0000000000001E16, 5204608.815243518342E16, Float.POSITIVE_INFINITY, Float.NaN for the float restricted SimpleType NISTSchema-float-minExclusive-3 element and expects validation to pass. Unmarshalled001
The test unmarshalls minExclusive-3-1.xml document, sets the invalid values 3385806E15, 0.0, - Float.MAX_VALUE, Float.NEGATIVE_INFINITY for the float restricted SimpleType NISTSchema-float-minExclusive-3 element and expects validation to fail. Unmarshalled002
The test creates the float restricted SimpleType NISTSchema-float-minExclusive-3 element with a valid value, sets its value to 3385806.0000000000001E16, 5204608.815243518342E16, Float.POSITIVE_INFINITY, Float.NaN then expects validation to pass. Created001
The test creates the float restricted SimpleType NISTSchema-float-minExclusive-3 element with a valid value, sets its value to 3385806E15, 0.0, - Float.MAX_VALUE, Float.NEGATIVE_INFINITY then expects validation to fail. Created002

FILES

ItemValue
title minExclusive3_ValidateCTTests - minExclusive3 Validate Tree Content tests
name minExclusive3_ValidateCTTests
source minExclusive-3.xsd minExclusive3_ValidateCTTests.java
schemaName minExclusive-3.xsd
executeClass javasoft.sqe.tests._float.minexclusive.minexclusive_3.minExclusive3_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema minExclusive-3.xsd
keywords positive document runtime
package javasoft.sqe.tests._float.minexclusive.minexclusive_3


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