Test descriptions and specifications for Binder setXXX getXXX tests.


TEST SetGet_CTTests - Binder setXXX getXXX tests.

DESCRIPTION

The test SetGet_CTTests.java contains the following test cases:

DescriptionTestCase
The test checks the presence of eventHandler by default. EventHandler property of javax.xml.Binder is not null. SetGet001
The test sets validation event handler to binder and checks that event handler property is not null. SetGet002
The test calls setEventHandler(null) to force binder to revert back to default event handler. getEventHandler() returns non-null value. SetGet003
getProperty(String name) throws IllegalArgumentException - If the name parameter is null SetGet004
The test calls getProperty for standard Jakarta XML Binding defined unmarshal/marshal properties. No exception should be thrown. SetGet005
getProperty(String name) throws PropertyException if property name is undefined. SetGet006
setProperty(String name,Object value) throws IllegalArgumentException if the name parameter is null SetGet007
The test calls setProperty for standard Jakarta XML Binding defined unmarshal/marshal properties. No exception should be thrown. SetGet008
setProperty(String name,Object value) throws PropertyException if property name is undefined SetGet009
getSchema: Gets the last Schema object (including null) set by the setSchema(Schema) method. setSchema: Specifies whether marshal, unmarshal and update methods performs validation on their XML content. SetGet_Schema001

FILES

ItemValue
title SetGet_CTTests - Binder setXXX getXXX tests.
name SetGet_CTTests
source MyValidationEventHandler.java Address.java Items.java PurchaseOrder.java ObjectFactory.java package-info.java SetGet_CTTests.java
schemaName Binder.xsd
executeClass javasoft.sqe.tests.bind.binder.SetGet_CTTests
executeArgs -TestURL $testURL -package $package -schema Binder.xsd
keywords positive document runtime
package javasoft.sqe.tests.bind.binder


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