The tests for validating the content of changed trees got by unmarshalling of the maxInclusive-4.xsd based XML documents or created dynamically via ObjectFactory. The schema defines a float restricted SimpleType with maxInclusive value 13663412E67 that corresponds to INF value of the basic value space of type float. Various XML documents specify various values in the element.


TEST maxInclusive4_ValidateCTTests - maxInclusive4 Validate Tree Content tests

DESCRIPTION

The test maxInclusive4_ValidateCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls maxInclusive-4-1.xml document, sets valid values 0.0, 4.391583E-7, Float.POSITIVE_INFINITY for the float restricted SimpleType NISTSchema-float-maxInclusive-4 element and expects validation to pass. Unmarshalled001
The test unmarshalls maxInclusive-4-1.xml document, sets the value Float.NaN for the float restricted SimpleType NISTSchema-float-maxInclusive-4 element and expects validation to fail. Unmarshalled002
The test creates the float restricted SimpleType NISTSchema-float-maxInclusive-4 element with a valid value, sets its value to 0.0, 4.391583E-7, Float.POSITIVE_INFINITY then expects validation to pass. Created001
The test creates the float restricted SimpleType NISTSchema-float-maxInclusive-4 element with a valid value, sets its value to Float.NaN then expects validation to fail. Created002

FILES

ItemValue
title maxInclusive4_ValidateCTTests - maxInclusive4 Validate Tree Content tests
name maxInclusive4_ValidateCTTests
source maxInclusive-4.xsd maxInclusive4_ValidateCTTests.java
schemaName maxInclusive-4.xsd
executeClass javasoft.sqe.tests._float.maxinclusive.maxinclusive_4.maxInclusive4_ValidateCTTests
executeArgs -TestURL $testURL -package $package -schema maxInclusive-4.xsd
keywords positive document runtime
package javasoft.sqe.tests._float.maxinclusive.maxinclusive_4


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