Test Description and Specification for AbstractUnmarshallerImpl tests



public AbstractUnmarshallerImpl()

Description

Domain testing of input and output conditions, and external pre-conditions for class AbstractUnmarshallerImpl, constructor public AbstractUnmarshallerImpl().

Assertion testing

Assertion Expected results Test Case ID
AbstractUnmarshallerImpl(): no exception is thrown if it is invoked by the child class no exceptions AbstUnmarImpl001

Test Descriptions


See:
Test descriptions for AbstUnmarImplTests.java (AbstUnmarImpl001)


protected UnmarshalException createUnmarshalException(org.xml.sax.SAXException e)

Description

Domain testing of input and output conditions, and external pre-conditions for class AbstractUnmarshallerImpl, method protected UnmarshalException createUnmarshalException(org.xml.sax.SAXException e).

Assertion testing

Assertion Expected results Test Case ID
createUnmarshalException(org.xml.sax.SAXException e): creates an UnmarshalException from a SAXException UnmarshalException object with the specified SAXException object AbstUnmarImpl002

Test Descriptions


See:
Test descriptions for AbstUnmarImplTests.java (AbstUnmarImpl002)


public ValidationEventHandler getEventHandler() throws JAXBException

Description

Domain testing of input and output conditions, and external pre-conditions for class AbstractUnmarshallerImpl, method public ValidationEventHandler getEventHandler() throws JAXBException.

Assertion testing

Assertion Expected results Test Case ID
getEventHandler(): returns the current ValidationEventHandler ValidationEventHandler object AbstUnmarImpl003

Test Descriptions


See:
Test descriptions for AbstUnmarImplTests.java (AbstUnmarImpl003)


protected org.xml.sax.XMLReader getXMLReader() throws JAXBException

Description

Domain testing of input and output conditions, and external pre-conditions for class AbstractUnmarshallerImpl, method protected org.xml.sax.XMLReader getXMLReader() throws JAXBException.

Assertion testing

Assertion Expected results Test Case ID
getXMLReader(): obtains a configured XMLReader XMLReader object AbstUnmarImpl005

Test Descriptions

Test cases included:
AbstUnmarImpl001, AbstUnmarImpl002, AbstUnmarImpl003, AbstUnmarImpl005.

ItemValue
title Tests for AbstractUnmarshallerImpl class methods
source AbstUnmarImplTests.java
executeClass javasoft.sqe.tests.api.jakarta.xml.bind.helpers.AbstractUnmarshallerImpl.AbstUnmarImplTests
keywords runtime positive
executeArgs -TestCaseID ALL


public void setEventHandler(ValidationEventHandler handler) throws JAXBException

Description

Domain testing of input and output conditions, and external pre-conditions for class AbstractUnmarshallerImpl, method public void setEventHandler(ValidationEventHandler handler) throws JAXBException.

Assertion testing

Assertion Expected results Test Case ID
setEventHandler(): sets the ValidationEventHandler no exceptions, the current ValidationEventHandler will be set to the specified one AbstUnmarImpl003

Test Descriptions


See:
Test descriptions for AbstUnmarImplTests.java (AbstUnmarImpl003)


Last updated: 11/20/02
Copyright © 2017, 2020 Oracle and/or its affiliates. All rights reserved.