public AbstractUnmarshallerImpl()
protected UnmarshalException createUnmarshalException(org.xml.sax.SAXException e)
public ValidationEventHandler getEventHandler() throws JAXBException
protected org.xml.sax.XMLReader getXMLReader() throws JAXBException
public boolean isValidating() throws JAXBException
public void setEventHandler(ValidationEventHandler handler) throws JAXBException
public void setValidating(boolean validating) throws JAXBException
public AbstractUnmarshallerImpl()
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
constructor public AbstractUnmarshallerImpl()
.
Assertion | Expected results | Test Case ID |
---|---|---|
AbstractUnmarshallerImpl(): no exception is thrown if it is invoked by the child class | no exceptions | AbstUnmarImpl001 |
protected UnmarshalException createUnmarshalException(org.xml.sax.SAXException e)
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method protected UnmarshalException createUnmarshalException(org.xml.sax.SAXException e)
.
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 |
public ValidationEventHandler getEventHandler() throws JAXBException
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method public ValidationEventHandler getEventHandler() throws JAXBException
.
Assertion | Expected results | Test Case ID |
---|---|---|
getEventHandler(): returns the current ValidationEventHandler | ValidationEventHandler object | AbstUnmarImpl003 |
protected org.xml.sax.XMLReader getXMLReader() throws JAXBException
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method protected org.xml.sax.XMLReader getXMLReader() throws JAXBException
.
Assertion | Expected results | Test Case ID |
---|---|---|
getXMLReader(): obtains a configured XMLReader | XMLReader object | AbstUnmarImpl005 |
Test cases included:
AbstUnmarImpl001,
AbstUnmarImpl002,
AbstUnmarImpl003,
AbstUnmarImpl004,
AbstUnmarImpl005.
Item | Value |
---|---|
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 boolean isValidating() throws JAXBException
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method public boolean isValidating() throws JAXBException
.
Assertion | Expected results | Test Case ID |
---|---|---|
isValidating(): returns true if the Unmarshaller is configured to validate during unmarshal operations | true | AbstUnmarImpl004 |
public void setEventHandler(ValidationEventHandler handler) throws JAXBException
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method public void setEventHandler(ValidationEventHandler handler) throws JAXBException
.
Assertion | Expected results | Test Case ID |
---|---|---|
setEventHandler(): sets the ValidationEventHandler | no exceptions, the current ValidationEventHandler will be set to the specified one | AbstUnmarImpl003 |
public void setValidating(boolean validating) throws JAXBException
Domain testing of input and output conditions, and external
pre-conditions for class AbstractUnmarshallerImpl,
method public void setValidating(boolean validating) throws JAXBException
.
Assertion | Expected results | Test Case ID |
---|---|---|
setValidating(): sets that the Unmarshaller should validate during unmarshal | the method isValidating() will return true | AbstUnmarImpl004 |