The tests for checking the content of trees got by unmarshalling of the enumeration-1.xsd based XML documents and created dynamically via ObjectFactory. The schema defines a int restricted SimpleType with enumeration values: 9129683, -20676679, 981445, -427396, 96552477, -671392302, 50712232, -941186, 13, -83484226. Various XML documents specify various values in the element.


TEST enumeration1_GetSetCTTests - enumeration1 GetSet Tree Content tests

DESCRIPTION

The test enumeration1_GetSetCTTests.java contains the following test cases:

DescriptionTestCase
The test unmarshalls enumeration-1-1.xml,...,enumeration-1-5.xml documents which specify the values -671392302, 9129683, 96552477, 9129683, 13 for the int restricted SimpleType NISTSchema-int-enumeration-1 element and expects that elemObj.getValue() returns specified in xml value, then invokes elemObj.setValue with valid values, elemObj.getValue() should return set value. GetSet001
The test creates an instance of int restricted SimpleType NISTSchema-int-enumeration-1 type with the values -671392302, 9129683, 96552477, 9129683, 13 and expects that elemObj.getValue() returns specified values, then invokes elemObj.setValue with various valid values, elemObj.getValue() should return set values. GetSet002

FILES

ItemValue
title enumeration1_GetSetCTTests - enumeration1 GetSet Tree Content tests
name enumeration1_GetSetCTTests
source enumeration-1.xsd enumeration1_GetSetCTTests.java
schemaName enumeration-1.xsd
executeClass javasoft.sqe.tests._int.enumeration.enumeration_1.enumeration1_GetSetCTTests
executeArgs -TestURL $testURL -package $package -schema enumeration-1.xsd
keywords positive document runtime
package javasoft.sqe.tests._int.enumeration.enumeration_1


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