|
Class Summary |
| LazyNameTestCase |
|
| OMSourcedElementTest |
Tests the characteristics of OMSourcedElementImpl. |
| OMSourcedElementVariant |
|
| PushOMDataSource |
|
| TestByteArrayDS |
Tests functionality of ByteArrayDataSource |
| TestCharArrayDS |
Tests functionality of ByteArrayDataSource |
| TestCloneNonDestructive |
|
| TestCloneUnknownName |
Tests the behavior of OMInformationItem.clone(OMCloneOptions) on an
OMSourcedElement backed by a non destructive OMDataSource if the name of the
element is unknown and the OMCloneOptions.setCopyOMDataSources(boolean) option is
enabled. |
| TestComplete |
Make sure that the incomplete setting of an OMSE is not
propogated to the root |
| TestExpand |
Make sure the expanded OMSourcedElement behaves like a normal OMElement. |
| TestGetDocumentFromBuilder |
Tests that OMXMLParserWrapper.getDocument() and OMXMLParserWrapper.getDocumentElement()
throw UnsupportedOperationException when invoked on the builder
associated with an OMSourcedElement. |
| TestGetLocalName |
|
| TestGetNamespace |
|
| TestGetNamespaceNormalized |
Tests that OMNamedInformationItem.getNamespace() returns null even if an
OMNamespace object with empty prefix and namespace URI was passed to
OMFactory.createOMElement(OMDataSource, String, OMNamespace). |
| TestGetNamespaceNormalized2 |
Tests that OMNamedInformationItem.getNamespace() returns null for an
OMSourcedElement created using OMFactory.createOMElement(OMDataSource, QName) and
a QName without namespace. |
| TestGetNamespaceURI |
|
| TestGetNextOMSiblingIncomplete |
Tests that OMNode.getNextOMSibling() doesn't change the state of an OMSourcedElement
that is expanded but not complete. |
| TestGetObject |
|
| TestGetPrefix |
|
| TestGetReaderException |
Tests the behavior of OMSourcedElement if OMDataSource.getReader() throws an
exception. |
| TestGetTextAsStreamWithNonDestructiveOMDataSource |
|
| TestGetXMLStreamReaderWithPushOMDataSource |
|
| TestInputStreamDS |
Tests functionality of InputStreamDataSource |
| TestName1DefaultPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument (which uses the default namespace) Type of
Serialization: Serialize and cache Prefix test |
| TestName1QualifiedPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument2 (which uses a qualified prefix) Type of Serialization:
Serialize and cache Prefix test |
| TestName1Unqualified |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument3 (which uses unqualified names) Type of Serialization:
Serialize and cache Prefix test |
| TestName2DefaultPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument (which uses the default namespace) Type of
Serialization: Serialize and consume Tests update of prefix |
| TestName2QualifiedPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument2 (which uses a qualified prefix) Type of Serialization:
Serialize and consume Tests update of prefix |
| TestName2Unqualified |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument3 (which uses unqualified names) Type of Serialization:
Serialize and consume Tests update of prefix |
| TestName3DefaultPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument (which uses the default namespace) Type of
Serialization: Serialize and cache Tests attempt to rename namespace and localpart, which is
not allowed |
| TestName3QualifiedPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument2 (which uses a qualified prefix) Type of Serialization:
Serialize and cache Tests attempt to rename namespace and localpart, which is not allowed |
| TestName3Unqualified |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument3 (which uses unqualified names) Type of Serialization:
Serialize and cache Tests attempt to rename namespace and localpart, which is not allowed |
| TestName4DefaultPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument (which uses the default namespace) Type of
Serialization: Serialize and consume Tests that the namespace and localName are not affected
by the serializeAndConsume |
| TestName4QualifiedPrefix |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument2 (which uses a qualified prefix) Type of Serialization:
Serialize and cache Tests attempt to rename namespace and localpart, which is not allowed |
| TestName4Unqualified |
Tests the OMSourcedElement localName, namespace and prefix settings before and after
serialization Document: testDocument3 (which uses unqualified names) Type of Serialization:
Serialize and cache Tests attempt to rename namespace and localpart, which is not allowed |
| TestRemoveChildrenUnexpanded |
Tests OMContainer.removeChildren() on an OMSourcedElement that is not expanded. |
| TestSerializeAndConsumeToStream |
Test serialization of OMSourcedElementImpl to a Stream |
| TestSerializeAndConsumeToWriter |
Test serialization of OMSourcedElementImpl to a Writer |
| TestSerializeAndConsumeToXMLWriter |
Test serialization of OMSourcedElementImpl to an XMLWriter |
| TestSerializeAndConsumeToXMLWriterEmbedded |
Tests OMSourcedElement serialization when the root (parent) is serialized. |
| TestSerializeModifiedOMSEWithNonDestructiveDataSource |
|
| TestSerializeToStream |
Test serialization of OMSourcedElementImpl to a Stream |
| TestSerializeToWriter |
Test serialization of OMSourcedElementImpl to a Writer |
| TestSerializeToXMLWriter |
Test serialization of OMSourcedElementImpl to an XMLWriter |
| TestSerializeToXMLWriterEmbedded |
Tests OMSourcedElement serialization when the root (parent) is serialized. |
| TestSerializeToXMLWriterFromReader |
Tests OMSourcedElement getReader support |
| TestSerializeToXMLWriterFromReaderEmbedded |
Tests OMSourcedElement processing when the getReader() of the parent is accessed. |
| TestSetDataSource |
Verifies that a OMDataSource can be replaced with another one |
| TestSetDataSourceOnAlreadyExpandedElement |
|
| TestSetLocalName |
Tests that the effect of OMNamedInformationItem.setLocalName(String) on a
OMSourcedElement is the same on expanded and unexpanded elements. |
| TestWrappedTextNodeOMDataSourceFromReader |
|
| TestWriteTextToWithNonDestructiveOMDataSource |
|