Test descriptions and specifications for Unmarshaller unmarshal(XXX) tests.


TEST UnmarshalCTTests - Unmarshaller unmarshal(XXX) tests

DESCRIPTION

The test UnmarshalCTTests.java contains the following test cases:

DescriptionTestCase
The test checks that unmarshal(java.io.File) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal001
The test checks that unmarshal(java.io.File) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal002
The test checks that unmarshal(java.io.File) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(File) does not throw exceptions, returns non-null object. Unmarshal003
The test checks that unmarshal(java.io.InputStream) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal004
The test checks that unmarshal(java.io.InputStream) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal005
The test checks that unmarshal(java.io.InputStream) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(java.io.InputStream) does not throw exceptions, returns non-null object. Unmarshal006
The test checks that unmarshal(java.net.URL) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal007
The test checks that unmarshal(java.net.URL) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal008
The test checks that unmarshal(java.net.URL) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(java.net.URL) does not throw exceptions, returns non-null object. Unmarshal009
The test checks that unmarshal(org.xml.sax.InputSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal010
The test checks that unmarshal(org.xml.sax.InputSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal011
The test checks that unmarshal(org.xml.sax.InputSource) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(org.xml.sax.InputSource) does not throw exceptions, returns non-null object. Unmarshal012
The test checks that unmarshal(org.w3c.dom.Node) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal013
The test checks that unmarshal(org.w3c.dom.Node) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal014
The test checks that unmarshal(org.w3c.dom.Node) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(org.w3c.dom.Node) does not throw exceptions, returns non-null object. Unmarshal015
The test checks that unmarshal(SAXSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal016
The test checks that unmarshal(SAXSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal017
The test checks that unmarshal(SAXSource) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(SAXSource) does not throw exceptions, returns non-null object. Unmarshal018
The test checks that unmarshal(StreamSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal019
The test checks that unmarshal(StreamSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal020
The test checks that unmarshal(StreamSource) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(StreamSource) does not throw exceptions, returns non-null object. Unmarshal021
The test checks that unmarshal(DOMSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched off by default. Unmarshal022
The test checks that unmarshal(DOMSource) unmarshals XML data from the specified file and return the resulting content tree. The content tree corresponds to the xml data. The vaildation is switched on. Unmarshal023
The test checks that unmarshal(DOMSource) unmarshals XML data from the specified file. The file is invalid. The vaildation is switched on. Registered validation event handler always returns true. unmarshal(DOMSource) does not throw exceptions, returns non-null object. Unmarshal024

FILES

ItemValue
title UnmarshalCTTests - Unmarshaller unmarshal(XXX) tests
name UnmarshalCTTests
source MyValidationEventHandler.java ObjectFactory.java UnmarshalCTTests.java
schemaName Unmarshaller-1.xsd
executeClass javasoft.sqe.tests.bind.unmarshaller_1.UnmarshalCTTests
executeArgs -TestURL $testURL -package $package -schema Unmarshaller-1.xsd
keywords positive document runtime
package javasoft.sqe.tests.bind.unmarshaller_1


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