Modifier and Type | Class and Description |
---|---|
class |
ConformanceTestCase
Base class for test cases that are executed against the files from the conformance test set.
|
Modifier and Type | Class and Description |
---|---|
class |
DigestTestCase
Base class for unit tests validating the DOMHASH implementation.
|
Modifier and Type | Class and Description |
---|---|
class |
TestGetSAXSource |
class |
TestGetXMLStreamReader
Test comparing the output of
OMContainer.getXMLStreamReader(boolean) with that of a
native StAX parser. |
class |
TestSerialize |
Modifier and Type | Method and Description |
---|---|
void |
OMElementFactory.addTestProperties(AxiomTestCase testCase) |
void |
SerializeToOutputStream.addTestProperties(AxiomTestCase testCase) |
void |
SerializationMethod.addTestProperties(AxiomTestCase testCase) |
void |
OMContainerFactory.addTestProperties(AxiomTestCase testCase) |
void |
BuilderFactory.addTestProperties(AxiomTestCase testCase) |
Modifier and Type | Class and Description |
---|---|
class |
TestAddChildIncomplete
Tests the behavior of
OMContainer.addChild(OMNode) if the parent has not been built
completely. |
class |
TestClone |
class |
TestDigest |
class |
TestGetOMDocumentElement
Tests the result of
OMDocument.getOMDocumentElement() after adding a child element to an
empty document. |
class |
TestGetOMDocumentElementAfterDetach
Tests that
OMDocument.getOMDocumentElement() returns null after the existing
document element has been removed using OMNode.detach() . |
class |
TestGetOMDocumentElementWithParser
Tests the result of
OMDocument.getOMDocumentElement() for an OMDocument
constructed from a stream. |
class |
TestIsCompleteAfterAddingIncompleteChild
Tests that the completeness status (as returned by
OMSerializable.isComplete() ) is updated
correctly after an incomplete child is added to a programmatically created document. |
class |
TestRemoveChildren
Tests
OMContainer.removeChildren() on an OMContainer . |
class |
TestSerializeAndConsume
Tests the behavior of
OMContainer.serializeAndConsume(java.io.OutputStream)
when invoked on an OMDocument instance. |
class |
TestSerializeAndConsumeWithIncompleteDescendant
Tests that
OMContainer.serializeAndConsume(java.io.Writer) consumes incomplete descendants,
even if the document itself is complete (more precisely, created programmatically). |
class |
TestSetOMDocumentElementNew
Tests the behavior of
OMDocument.setOMDocumentElement(OMElement) if there is no existing
document element. |
class |
TestSetOMDocumentElementNull
Tests the behavior of
OMDocument.setOMDocumentElement(OMElement) with a null
parameter. |
class |
TestSetOMDocumentElementReplace
Tests the behavior of
OMDocument.setOMDocumentElement(OMElement) if the document already
has a document element. |
Modifier and Type | Class and Description |
---|---|
class |
TestAddAttributeAlreadyOwnedByElement
Test that calling
OMElement.addAttribute(OMAttribute) with an attribute that is already
owned by the element is a no-op. |
class |
TestAddAttributeAlreadyOwnedByOtherElement
Test that calling
OMElement.addAttribute(OMAttribute) with an attribute that is already
owned by another element will clone the attribute. |
class |
TestAddAttributeFromOMAttributeMultiple
Tests that when
OMElement.addAttribute(org.apache.axiom.om.OMAttribute) is called
multiple times for attributes with different namespaces, each call adds a corresponding namespace
declaration. |
class |
TestAddAttributeFromOMAttributeWithExistingName |
class |
TestAddAttributeReplace1
Test that
OMElement.addAttribute(OMAttribute) behaves correctly when an attribute with
the same name and namespace URI already exists. |
class |
TestAddAttributeReplace2
Test that
OMElement.addAttribute(String, String, OMNamespace) behaves correctly when an
attribute with the same name and namespace URI already exists. |
class |
TestAddAttributeWithExistingNamespaceDeclarationInScope
Tests
OMElement.addAttribute(OMAttribute) doesn't create an additional namespace declaration if
a corresponding declaration is already in scope. |
class |
TestAddAttributeWithExistingNamespaceDeclarationOnSameElement
Tests
OMElement.addAttribute(OMAttribute) doesn't create an additional namespace
declaration if a corresponding declaration already exists on the element. |
class |
TestAddAttributeWithInvalidNamespace |
class |
TestAddAttributeWithMaskedNamespaceDeclaration
Test checking that
OMElement.addAttribute(OMAttribute) correctly generates a
new namespace declaration if an equivalent namespace declaration exists but is masked. |
class |
TestAddAttributeWithoutExistingNamespaceDeclaration
Tests that
OMElement.addAttribute(OMAttribute) adds a namespace declaration if the
attribute has a namespace and a corresponding namespace declaration doesn't exist yet. |
class |
TestAddAttributeWithoutNamespace
Tests that
OMElement.addAttribute(OMAttribute) doesn't add any namespace declarations if the
attribute has no namespace. |
class |
TestAddChild |
class |
TestAddChild2 |
class |
TestAddChildWithParent
Test that
OMContainer.addChild(org.apache.axiom.om.OMNode) behaves
correctly if the child to be added already has a parent. |
class |
TestAddChildWithSameParent
Tests the behavior of
OMContainer.addChild(OMNode) when used to add a node to an element
it is already a child of. |
class |
TestChildReDeclaringGrandParentsDefaultNSWithPrefix |
class |
TestChildReDeclaringParentsDefaultNSWithPrefix |
class |
TestCloneOMElement |
class |
TestCloneOMElement2 |
class |
TestCloneOMElementNamespaceRepairing
Tests that
OMElement.cloneOMElement() performs namespace repairing. |
class |
TestDeclareDefaultNamespace1 |
class |
TestDeclareDefaultNamespace2 |
class |
TestDeclareDefaultNamespaceConflict1
Tests that
OMElement.declareDefaultNamespace(String) throws an exception if an attempt is
made to add a namespace declaration that would conflict with the namespace information of the
element. |
class |
TestDeclareDefaultNamespaceConflict2
Tests that
OMElement.declareDefaultNamespace(String) throws an exception if an attempt is
made to add a namespace declaration that would conflict with the namespace information of the
element. |
class |
TestDeclareNamespace1 |
class |
TestDeclareNamespaceInvalid1
Tests Axiom's behavior when
OMElement.declareNamespace(String, String) is used to add a
namespace declaration that binds a prefix to an empty namespace URI. |
class |
TestDeclareNamespaceInvalid2
Tests Axiom's behavior when
OMElement.declareNamespace(OMNamespace) is used to add a
namespace declaration that binds a prefix to an empty namespace URI. |
class |
TestDeclareNamespaceWithGeneratedPrefix1
Tests that
OMElement.declareNamespace(OMNamespace) generates a new prefix if the prefix
specified in the OMNamespace object is null . |
class |
TestDeclareNamespaceWithGeneratedPrefix2
Tests that
OMElement.declareNamespace(String, String) generates a new prefix if the
specified prefix is empty. |
class |
TestDeclareNamespaceWithGeneratedPrefix3
Tests that
OMElement.declareNamespace(String, String) generates a new prefix if the
specified prefix is null . |
class |
TestDiscardDocumentElement
Tests the behavior of
OMNode.discard() on an incomplete OMElement that is a
document element, i.e. |
class |
TestDiscardIncomplete
Test the discard method
|
class |
TestDiscardPartiallyBuilt
Tests the behavior of
OMNode.discard() on an element that is partially built, more
precisely in a situation where the builder is building a descendant that is not an immediate
child of the element. |
class |
TestFindNamespaceByNamespaceURIMasked
Tests that
OMElement.findNamespace(String, String) returns null if the
matching namespace declaration is masked by another namespace declaration, i.e. |
class |
TestFindNamespaceByPrefix |
class |
TestFindNamespaceCaseSensitivity |
class |
TestFindNamespaceURIWithPrefixUndeclaring |
class |
TestGetAllAttributes1
Test
OMElement.getAllAttributes() on a programmatically created document. |
class |
TestGetAllAttributes2
Test
OMElement.getAllAttributes() on a parsed document. |
class |
TestGetAllDeclaredNamespaces |
class |
TestGetAllDeclaredNamespacesRemove
Tests that
Iterator.remove() can be used on the iterator returned by
OMElement.getAllDeclaredNamespaces() to remove a namespace declaration. |
class |
TestGetAttributeValueNonExisting
Tests the behavior of
OMElement.getAttributeValue(QName) if the element has no attribute
with the given QName. |
class |
TestGetAttributeValueWithXmlPrefix1
Test that
OMElement.getAttributeValue(QName) works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly. |
class |
TestGetAttributeValueWithXmlPrefix2
Test that
OMElement.getAttributeValue(QName) works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly. |
class |
TestGetAttributeWithXmlPrefix1
Test that
OMElement.getAttribute(QName) works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly. |
class |
TestGetAttributeWithXmlPrefix2
Test that
OMElement.getAttribute(QName) works properly for an attribute with the
xml prefix, even if this prefix is not declared explicitly. |
class |
TestGetChildElements
Test the element iterator
|
class |
TestGetChildElementsConcurrentModification
Tests that the iterator returned by
OMElement.getChildElements() throws a
ConcurrentModificationException if the current node is removed using a method other than
Iterator.remove() . |
class |
TestGetChildren
Test the plain iterator which includes all the children (including the texts)
|
class |
TestGetChildrenConcurrentModification
Tests that the iterator returned by
OMContainer.getChildren() throws a
ConcurrentModificationException if the current node is removed using a method other than
Iterator.remove() . |
class |
TestGetChildrenRemove1
test the remove exception behavior
|
class |
TestGetChildrenRemove2
test the remove exception behavior, consecutive remove calls
|
class |
TestGetChildrenRemove3
Remove all!
|
class |
TestGetChildrenRemove4
test whether the children count reduces.
|
class |
TestGetChildrenWithLocalName |
class |
TestGetChildrenWithName
Test the element iterator
|
class |
TestGetChildrenWithName2 |
class |
TestGetChildrenWithName3
Regression test for AXIOM-166.
|
class |
TestGetChildrenWithName4 |
class |
TestGetChildrenWithNameNextWithoutHasNext
Tests that the iterator returned by
OMContainer.getChildrenWithName(QName) returns the
correct element when Iterator.next() is used without calling Iterator.hasNext()
before. |
class |
TestGetChildrenWithNamespaceURI
Tests the behavior of
OMContainer.getChildrenWithNamespaceURI(String) . |
class |
TestGetDefaultNamespace |
class |
TestGetDefaultNamespace2
Tests the behavior of
OMElement.getDefaultNamespace() in the special case where the
element has no namespace and was created as a child element of an element having a default
namespace with a non empty namespace URI. |
class |
TestGetDescendants |
class |
TestGetFirstChildWithName
Tests the behavior of
OMContainer.getFirstChildWithName(QName) . |
class |
TestGetFirstChildWithNameOnIncompleteElement
Tests the behavior of
OMContainer.getFirstChildWithName(QName) on an incomplete element. |
class |
TestGetFirstOMChildAfterConsume
Tests that
OMContainer.getFirstOMChild() throws the expected
NodeUnavailableException if the element has been consumed using
OMContainer.getXMLStreamReaderWithoutCaching() . |
class |
TestGetFirstOMChildAfterDiscard
Tests that
OMContainer.getFirstOMChild() throws the expected
NodeUnavailableException if the element has been discarded before the first child could
be created. |
class |
TestGetNamespaceContext
|
class |
TestGetNamespaceNormalizedWithParser
Tests that
OMNamedInformationItem.getNamespace() returns null for an element
with no namespace. |
class |
TestGetNamespaceNormalizedWithSAXSource
Tests that
OMNamedInformationItem.getNamespace() returns null for an element
with no namespace. |
class |
TestGetNamespacesInScope |
class |
TestGetNamespacesInScopeWithDefaultNamespace |
class |
TestGetNamespacesInScopeWithMaskedDefaultNamespace |
class |
TestGetNamespacesInScopeWithMaskedNamespace |
class |
TestGetPrefixWithDefaultNamespace
Tests that
OMNamedInformationItem.getPrefix() returns null when invoked on
an OMElement that has a namespace without a prefix. |
class |
TestGetText
Tests the behavior of
OMElement.getText() when invoked on an element with a single child
of type OMText . |
class |
TestGetTextAsQName
Tests the behavior of
OMElement.getTextAsQName() for a prefixed QName. |
class |
TestGetTextAsQNameEmpty
Tests the behavior of
OMElement.getTextAsQName() if the element is empty. |
class |
TestGetTextAsQNameNoNamespace |
class |
TestGetTextAsQNameWithExtraWhitespace
Tests the behavior of
OMElement.getTextAsQName() if the element content has extra
surrounding whitespace. |
class |
TestGetTextAsStreamWithNonTextChildren |
class |
TestGetTextAsStreamWithoutCaching |
class |
TestGetTextAsStreamWithSingleTextNode |
class |
TestGetTextWithCDATASectionChild
Tests the behavior of
OMElement.getText() when invoked on an element containing both a
text node and a CDATA section. |
class |
TestGetTextWithMixedOMTextChildren
Tests the behavior of
OMElement.getText() when invoked on an element containing a single
CDATA section. |
class |
TestGetXMLStreamReaderCDATAEventFromElement |
class |
TestGetXMLStreamReaderCDATAEventFromParser |
class |
TestGetXMLStreamReaderCommentEvent |
class |
TestGetXMLStreamReaderGetElementText |
class |
TestGetXMLStreamReaderGetElementTextFromParser |
class |
TestGetXMLStreamReaderGetNamespaceContext |
class |
TestGetXMLStreamReaderNextTag |
class |
TestGetXMLStreamReaderOnNonRootElement |
class |
TestGetXMLStreamReaderWithNamespaceURIInterning
Tests the behavior of
OMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration) with
OMXMLStreamReaderConfiguration.isNamespaceURIInterning() set to true . |
class |
TestGetXMLStreamReaderWithOMSourcedElementDescendant |
class |
TestGetXMLStreamReaderWithoutCachingPartiallyBuilt
Tests that
OMContainer.getXMLStreamReaderWithoutCaching() correctly generated events for
an element that has been partially built. |
class |
TestGetXMLStreamReaderWithPreserveNamespaceContext
Tests the behavior of
OMContainer.getXMLStreamReader(boolean, OMXMLStreamReaderConfiguration) with
OMXMLStreamReaderConfiguration.isPreserveNamespaceContext() set to true . |
class |
TestMultipleDefaultNS |
class |
TestRemoveAttribute
Tests the behavior of
OMElement.removeAttribute(OMAttribute) . |
class |
TestRemoveAttributeNotOwner
Tests the behavior of
OMElement.removeAttribute(OMAttribute) if the given attribute is
not owned by the element. |
class |
TestResolveQNameWithDefaultNamespace |
class |
TestResolveQNameWithNonDefaultNamespace |
class |
TestResolveQNameWithoutNamespace |
class |
TestResolveQNameWithUnboundPrefix
Tests the behavior of
OMElement.resolveQName(String) if the prefix of the QName is not
bound in the namespace context of the element. |
class |
TestSerialization
Tests proper serialization for different combinations of namespaces on the element and its children.
|
class |
TestSerializationWithTwoNonBuiltOMElements
Regression test for AXIOM-65.
|
class |
TestSerializeAndConsumePartiallyBuilt
Tests that
OMElement.serializeAndConsume(java.io.Writer) correctly serializes an object
model tree that has been partially built. |
class |
TestSetNamespace
Tests the behavior of
OMElement.setNamespace(OMNamespace) if no matching namespace
binding is in scope. |
class |
TestSetNamespaceInvalid
Tests the behavior of
OMElement.setNamespace(OMNamespace) when the argument
binds a prefix to the empty namespace name. |
class |
TestSetNamespaceWithMatchingBindingInScope
Tests the behavior of
OMElement.setNamespace(OMNamespace) if a matching namespace binding
is in scope. |
class |
TestSetNamespaceWithNullOMNamespace
|
class |
TestSetNamespaceWithNullPrefix
Tests the behavior of
OMElement.setNamespace(OMNamespace) if the OMNamespace
object has a null prefix. |
class |
TestSetText
Tests the behavior of
OMElement.setText(String) when invoked on an empty element. |
class |
TestSetTextEmptyString
Tests the behavior of
OMElement.setText(String) when invoked with an empty string as
parameter. |
class |
TestSetTextNull
Tests the behavior of
OMElement.setText(String) when invoked with a null
parameter. |
class |
TestSetTextQName
Tests the behavior of
OMElement.setText(QName) , in particular that it adds a
namespace declaration if necessary. |
class |
TestSetTextQNameNull
Tests the behavior of
OMElement.setText(String) when invoked with a null
parameter. |
class |
TestSetTextQNameWithEmptyPrefix
Tests the behavior of
OMElement.setText(QName) if the QName has a namespace URI
but an empty prefix. |
class |
TestSetTextQNameWithExistingChildren
Tests the behavior of
OMElement.setText(QName) when invoked on an element that has
children. |
class |
TestSetTextQNameWithoutNamespace
Tests the behavior of
OMElement.setText(QName) if the QName has no namespace. |
class |
TestSetTextWithExistingChildren
Tests the behavior of
OMElement.setText(String) when invoked on an element that has
children. |
class |
TestUndeclarePrefix |
class |
TestWriteTextTo
Tests the behavior of
OMElement.writeTextTo(Writer, boolean) in the simple case with a
single OMText child. |
class |
TestWriteTextToWithNonTextNodes |
Modifier and Type | Class and Description |
---|---|
class |
CreateOMElementTestCase
Base class for the test cases that validate the behavior of the various
createOMElement methods in OMFactory . |
class |
TestCreateOMAttributeGeneratedPrefix
Tests that
OMFactory.createOMAttribute(String, OMNamespace, String) generates a prefix if
an OMNamespace object with a null prefix and a non empty namespace URI is given. |
class |
TestCreateOMAttributeNullPrefixNoNamespace
Tests the behavior of
OMFactory.createOMAttribute(String, OMNamespace, String) if an
OMNamespace object with a null prefix and an empty namespace URI is given. |
class |
TestCreateOMAttributeWithInvalidNamespace |
class |
TestCreateOMCommentWithoutParent |
class |
TestCreateOMDocTypeWithoutParent |
class |
TestCreateOMDocument |
class |
TestCreateOMElementWithDefaultNamespace |
class |
TestCreateOMElementWithGeneratedPrefix
Tests the behavior of the
createOMElement methods in OMFactory when
requested to create an element with a namespace but no namespace prefix is given and no matching
namespace declaration is in scope. |
class |
TestCreateOMElementWithInvalidNamespace
Tests that
OMFactory forbids creating prefixed elements with an empty namespace name. |
class |
TestCreateOMElementWithNamespaceInScope1
Tests the behavior of the
createOMElement methods in OMFactory if no
namespace prefix is given and an existing namespace declaration is in scope. |
class |
TestCreateOMElementWithNamespaceInScope2
Tests the behavior of the
createOMElement methods in OMFactory if a
namespace prefix is given and an existing namespace declaration for the same URI but a different
prefix is in scope. |
class |
TestCreateOMElementWithNamespaceInScope3
Tests the behavior of the
createOMElement methods in OMFactory if an empty
namespace prefix is given and an existing namespace declaration for the same URI but non empty
prefix is in scope. |
class |
TestCreateOMElementWithNonDefaultNamespace |
class |
TestCreateOMElementWithNullOMDataSource1
Tests the behavior of
OMFactory.createOMElement(OMDataSource, String, OMNamespace) if the
data source is null . |
class |
TestCreateOMElementWithNullOMDataSource2
Tests the behavior of
OMFactory.createOMElement(OMDataSource, QName) if the data source
is null . |
class |
TestCreateOMElementWithNullURIAndPrefix |
class |
TestCreateOMElementWithoutNamespace
Tests the behavior of the
createOMElement methods in OMFactory when
requested to create an element without namespace. |
class |
TestCreateOMElementWithoutNamespace2
Tests the behavior of the
createOMElement methods in OMFactory when
requested to create an element without namespace as a child of an element that has a default
namespace with a non empty namespace URI. |
class |
TestCreateOMElementWithoutNamespace3
Tests the behavior of the
createOMElement methods in OMFactory when
requested to create an element without namespace as a child of an element with a
xmlns="" declaration. |
class |
TestCreateOMElementWithoutNamespaceNullPrefix
Tests the behavior of the
createOMElement methods in OMFactory when
requested to create an element without namespace and the specified namespace prefix is
null . |
class |
TestCreateOMEntityReference |
class |
TestCreateOMEntityReferenceWithNullParent |
class |
TestCreateOMNamespace |
class |
TestCreateOMNamespaceWithNullURI |
class |
TestCreateOMProcessingInstructionWithoutParent |
class |
TestCreateOMText |
class |
TestCreateOMTextFromDataHandlerProvider |
class |
TestCreateOMTextFromOMText
|
class |
TestCreateOMTextWithNullParent
Tests that
OMFactory.createOMText(OMContainer, String) can be used to create an orphaned
node by setting parent to null . |
class |
TestFactoryIsSingleton
Tests that the
OMFactory returned by OMMetaFactory is a singleton. |
class |
TestGetMetaFactory
Tests that
OMFactory.getMetaFactory() returns the reference of the OMMetaFactory
from which the reference to the OMFactory was obtained. |
Modifier and Type | Class and Description |
---|---|
class |
TestEquals
Tests the behavior of
OMNamespace.equals(String, String) for an OMNamespace
instance with non null prefix. |
class |
TestEqualsWithNullPrefix
Tests the behavior of
OMNamespace.equals(String, String) for an OMNamespace
instance with non prefix. |
class |
TestGetNamespaceURI
Tests the behavior of
OMNamespace.getNamespaceURI() . |
class |
TestGetPrefix
Tests the behavior of
OMNamespace.getPrefix() . |
class |
TestHashCode
Tests that the
OMNamespace overrides Object.hashCode() . |
class |
TestObjectEquals
Tests the behavior of
Object.equals(Object) for OMNamespace instances with same
namespace URI and prefix. |
class |
TestObjectEqualsWithDifferentPrefixes
Tests the behavior of
Object.equals(Object) for OMNamespace instances with
different prefixes. |
class |
TestObjectEqualsWithDifferentURIs
Tests the behavior of
Object.equals(Object) for OMNamespace instances with
different namespace URIs. |
Modifier and Type | Class and Description |
---|---|
class |
TestDetach
Tests the behavior of
OMNode.detach() . |
class |
TestDetachAfterBuilderClose |
class |
TestDetachFirstChild
Tests the behavior of
OMNode.detach() . |
class |
TestGetNextOMSiblingAfterDiscard |
class |
TestInsertSiblingAfter
Tests the behavior of
OMNode.insertSiblingAfter(OMNode) . |
class |
TestInsertSiblingAfterLastChild
Regression test for AXIOM-153.
|
class |
TestInsertSiblingAfterOnChild |
class |
TestInsertSiblingAfterOnOrphan
Tests that
OMNode.insertSiblingBefore(OMNode) fails if the node doesn't have a parent. |
class |
TestInsertSiblingAfterOnSelf |
class |
TestInsertSiblingBefore
Tests the behavior of
OMNode.insertSiblingBefore(OMNode) . |
class |
TestInsertSiblingBeforeOnChild |
class |
TestInsertSiblingBeforeOnOrphan
Tests that
OMNode.insertSiblingAfter(OMNode) fails if the node doesn't have a parent. |
class |
TestInsertSiblingBeforeOnSelf |
Modifier and Type | Class and Description |
---|---|
class |
LazyNameTestCase |
class |
OMSourcedElementTest
Tests the characteristics of OMSourcedElementImpl.
|
class |
TestByteArrayDS
Tests functionality of ByteArrayDataSource
|
class |
TestCharArrayDS
Tests functionality of ByteArrayDataSource
|
class |
TestCloneNonDestructive |
class |
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. |
class |
TestComplete
Make sure that the incomplete setting of an OMSE is not
propogated to the root
|
class |
TestExpand
Make sure the expanded OMSourcedElement behaves like a normal OMElement.
|
class |
TestGetDocumentFromBuilder
Tests that
OMXMLParserWrapper.getDocument() and OMXMLParserWrapper.getDocumentElement()
throw UnsupportedOperationException when invoked on the builder
associated with an OMSourcedElement . |
class |
TestGetLocalName |
class |
TestGetNamespace |
class |
TestGetNamespaceNormalized2
Tests that
OMNamedInformationItem.getNamespace() returns null for an
OMSourcedElement created using OMFactory.createOMElement(OMDataSource, QName) and
a QName without namespace. |
class |
TestGetNextOMSiblingIncomplete
Tests that
OMNode.getNextOMSibling() doesn't change the state of an OMSourcedElement
that is expanded but not complete. |
class |
TestGetObject |
class |
TestGetReaderException
Tests the behavior of
OMSourcedElement if OMDataSource.getReader() throws an
exception. |
class |
TestGetTextAsStreamWithNonDestructiveOMDataSource |
class |
TestGetXMLStreamReaderWithPushOMDataSource |
class |
TestInputStreamDS
Tests functionality of InputStreamDataSource
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
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
|
class |
TestRemoveChildrenUnexpanded
Tests
OMContainer.removeChildren() on an OMSourcedElement that is not expanded. |
class |
TestSerializeAndConsumeToStream
Test serialization of OMSourcedElementImpl to a Stream
|
class |
TestSerializeAndConsumeToWriter
Test serialization of OMSourcedElementImpl to a Writer
|
class |
TestSerializeAndConsumeToXMLWriter
Test serialization of OMSourcedElementImpl to an XMLWriter
|
class |
TestSerializeAndConsumeToXMLWriterEmbedded
Tests OMSourcedElement serialization when the root (parent) is serialized.
|
class |
TestSerializeModifiedOMSEWithNonDestructiveDataSource |
class |
TestSerializeToStream
Test serialization of OMSourcedElementImpl to a Stream
|
class |
TestSerializeToWriter
Test serialization of OMSourcedElementImpl to a Writer
|
class |
TestSerializeToXMLWriter
Test serialization of OMSourcedElementImpl to an XMLWriter
|
class |
TestSerializeToXMLWriterEmbedded
Tests OMSourcedElement serialization when the root (parent) is serialized.
|
class |
TestSerializeToXMLWriterFromReader
Tests OMSourcedElement getReader support
|
class |
TestSerializeToXMLWriterFromReaderEmbedded
Tests OMSourcedElement processing when the getReader() of the parent is accessed.
|
class |
TestSetDataSource
Verifies that a OMDataSource can be replaced with another one
|
class |
TestSetDataSourceOnAlreadyExpandedElement |
class |
TestWrappedTextNodeOMDataSourceFromReader |
class |
TestWriteTextToWithNonDestructiveOMDataSource |
Modifier and Type | Class and Description |
---|---|
class |
TestBase64StreamingWithGetSAXSource
Tests that when an
OMText node is serialized by the SAXSource returned by
OMContainer.getSAXSource(boolean) , the implementation doesn't construct an in-memory
base64 representation of the complete binary content, but writes it in chunks (streaming). |
class |
TestBase64StreamingWithSerialize
Test that when an
OMText node is written to an XMLStreamWriter without MTOM support, the
implementation doesn't construct an in-memory base64 representation of the complete binary
content, but writes it in chunks (streaming). |
class |
TestGetTextCharactersFromDataHandler
Tests that
OMText.getTextCharacters() returns the expected result for an OMText
node backed by a DataHandler . |
Modifier and Type | Class and Description |
---|---|
class |
TestAddNamespaces |
class |
TestAddNamespaces2 |
class |
TestAXIOMXPath |
class |
TestGetAttributeQName
Tests that
DocumentNavigator.getAttributeQName(Object) returns the correct result for an
attribute with namespace. |
Modifier and Type | Class and Description |
---|---|
class |
TestGetOMFactory1
Tests that
OMInformationItem.getOMFactory() returns the expected instance for a
Document created with the DocumentBuilder.newDocument() . |
class |
TestGetOMFactory2
Tests that
OMInformationItem.getOMFactory() returns the expected instance for a
Document created with the
DOMImplementation.createDocument(String, String, DocumentType) . |
class |
TestImportNode |
Modifier and Type | Class and Description |
---|---|
class |
TestAddAttributeReplace
Tests that the owner document of an attribute changes if it is removed from its owner element as
a side effect of
OMElement.addAttribute(OMAttribute) . |
class |
TestAddChildFromForeignDocument
Tests that
OMContainer.addChild(OMNode) automatically adopts (in the sense of DOM) the
child node if it doesn't have the same owner document. |
class |
TestAppendChildIncomplete
Tests the behavior of
Node.appendChild(Node) if the parent has not been built completely. |
class |
TestCloneNodeIncomplete
Tests
Node.cloneNode(boolean) on an element that is not completely built. |
class |
TestInsertBeforeIncomplete
Tests the behavior of
Node.insertBefore(Node, Node) if refChild is
null and the parent has not been built completely. |
class |
TestRemoveAttributeNSNamespaceDeclaration
Tests that
Element.removeAttributeNS(String, String) can be used to remove a namespace
declaration. |
class |
TestRemoveChildIncomplete
Tests the behavior of
Node.removeChild(Node) on an element that has not been built
completely. |
class |
TestReplaceChildFirstIncomplete
Tests the behavior of
Node.replaceChild(Node, Node) on an element that has not been built
completely. |
class |
TestReplaceChildMiddleIncomplete
Tests the behavior of
Node.replaceChild(Node, Node) on an element that has not been built
completely. |
Modifier and Type | Class and Description |
---|---|
class |
TestCreateOMAttribute |
class |
TestCreateOMTextCDATASection
Tests that
OMFactory.createOMText(String, int) creates a node that implements
CDATASection if the specified type is OMNode.CDATA_SECTION_NODE . |
class |
TestCreateOMTextCDATASectionWithParent
Tests that
OMFactory.createOMText(OMContainer, String, int) creates a node that
implements CDATASection if the specified type is OMNode.CDATA_SECTION_NODE . |
Modifier and Type | Class and Description |
---|---|
class |
TestInsertSiblingAfterFromForeignDocument
Tests that
OMNode.insertSiblingAfter(OMNode) automatically adopts (in the sense of DOM)
the sibling if it doesn't have the same owner document. |
class |
TestInsertSiblingBeforeFromForeignDocument
Tests that
OMNode.insertSiblingBefore(OMNode) automatically adopts (in the sense of DOM)
the sibling if it doesn't have the same owner document. |
Modifier and Type | Class and Description |
---|---|
class |
SOAPTestCase |
Modifier and Type | Class and Description |
---|---|
class |
FirstElementNameWithParserTestCase |
class |
TestAddFault1 |
class |
TestAddFault2 |
class |
TestGetFault |
class |
TestGetFaultFakeFault
Tests the behavior of
SOAPBody.getFault() if the SOAPBody contains a plain
OMElement with a name corresponding to a SOAP fault. |
class |
TestGetFaultNoFault |
class |
TestGetFaultWithParser |
class |
TestGetFaultWithParserNoFault
Tests
SOAPBody.getFault() in the case where the body doesn't contain a SOAP fault. |
class |
TestGetFirstElementLocalNameEmptyBody
Tests that
SOAPBody.getFirstElementLocalName() returns null if the body is
empty. |
class |
TestGetFirstElementLocalNameWithParser
Tests
SOAPBody.getFirstElementLocalName() , in particular the optimization described by AXIOM-282. |
class |
TestGetFirstElementNSEmptyBody
Tests that
SOAPBody.getFirstElementNS() returns null if the body is empty. |
class |
TestGetFirstElementNSWithParser
Tests
SOAPBody.getFirstElementNS() , in particular the optimization described by AXIOM-282. |
class |
TestHasFault |
class |
TestHasFaultAfterReplace
Tests that
SOAPBody.hasFault() returns the correct value after a SOAPFault child
has been replaced by an OMElement that is not a SOAPFault . |
class |
TestHasFaultFakeFault
Tests the behavior of
SOAPBody.hasFault() if the SOAPBody contains a plain
OMElement with a name corresponding to a SOAP fault. |
class |
TestHasFaultNoFault |
class |
TestHasFaultWithOMSEUnknownName
Tests that a call to
SOAPBody.hasFault() doesn't cause expansion of an
OMSourcedElement with an unknown name that is the first child of the SOAP body. |
class |
TestHasFaultWithParser |
class |
TestHasFaultWithParserNoFault
Tests
SOAPBody.hasFault() in the case where the body doesn't contain a SOAP fault. |
Modifier and Type | Class and Description |
---|---|
class |
BadInputTest |
class |
MessageTest |
class |
TestCommentInEpilog
Tests that the SOAP builder creates
OMComment nodes for comments appearing after the
document element. |
class |
TestCommentInProlog
Tests that the SOAP builder creates
OMComment nodes for comments in the XML prolog. |
class |
TestDTD
Tests that the SOAP model builder rejects attempts to create a DTD.
|
class |
TestRegisterCustomBuilderForPayloadAfterSOAPFaultCheck
Tests that a custom builder registered with
StAXBuilder.registerCustomBuilderForPayload(CustomBuilder) is still taken into
account after using SOAPBody.hasFault() . |
Modifier and Type | Class and Description |
---|---|
class |
TestCreateSOAPEnvelope |
class |
TestCreateSOAPEnvelopeWithCustomPrefix
Tests the behavior of
SOAPFactory.createSOAPEnvelope(OMNamespace) . |
class |
TestCreateSOAPFault |
class |
TestCreateSOAPFaultDetail |
class |
TestGetDefaultEnvelope
Checks the content of the SOAP envelope returned by
SOAPFactory.getDefaultEnvelope() . |
class |
TestGetDefaultFaultEnvelope
Tests the behavior of
SOAPFactory.getDefaultFaultEnvelope() . |
Modifier and Type | Class and Description |
---|---|
class |
TestGetCode |
class |
TestGetCodeWithParser |
class |
TestGetDetail |
class |
TestGetDetailWithParser |
class |
TestGetException |
class |
TestGetReason |
class |
TestGetReasonWithParser |
class |
TestGetRole |
class |
TestGetRoleWithParser |
class |
TestSetCode |
class |
TestSetDetail |
class |
TestSetException |
class |
TestSetReason |
class |
TestSetRole |
class |
TestWrongParent1
Tests that
OMContainer.addChild(OMNode) throws an exception if an attempt is made to add
a SOAPFault to a plain OMElement . |
class |
TestWrongParent2
Tests that
OMNode.insertSiblingAfter(OMNode) throws an exception if an attempt is made to
add a SOAPFault as a child of a plain OMElement . |
class |
TestWrongParent3
Tests that
OMNode.insertSiblingBefore(OMNode) throws an exception if an attempt is made to
add a SOAPFault as a child of a plain OMElement . |
Modifier and Type | Class and Description |
---|---|
class |
TestGetValueAsQName |
class |
TestGetValueAsQNameWithParser
Tests the behavior of
SOAPFaultClassifier.getValueAsQName() on a SOAPFaultCode . |
Modifier and Type | Class and Description |
---|---|
class |
TestAddDetailEntry |
class |
TestDetailEntriesUsingDefaultNamespaceWithParser
Tests parsing of a SOAP fault that has detail entries that use a default namespace.
|
class |
TestGetAllDetailEntries |
class |
TestGetAllDetailEntriesWithParser |
class |
TestWSCommons202 |
Modifier and Type | Class and Description |
---|---|
class |
TestSetLang |
Modifier and Type | Class and Description |
---|---|
class |
SOAPRoleTest |
class |
TestAddHeaderBlock |
class |
TestAddHeaderBlockWithoutNamespace1
Tests the behavior of
SOAPHeader.addHeaderBlock(String, OMNamespace) when passing a
null value for the OMNamespace parameter. |
class |
TestAddHeaderBlockWithoutNamespace2
Tests the behavior of
SOAPHeader.addHeaderBlock(String, OMNamespace) when passing an
OMNamespace object with an empty namespace URI. |
class |
TestExamineAllHeaderBlocks |
class |
TestExamineAllHeaderBlocksWithParser |
class |
TestExamineHeaderBlocks |
class |
TestExtractAllHeaderBlocks |
class |
TestGetHeaderBlocksWithNSURI |
class |
TestGetHeadersToProcessWithNamespace
Tests the behavior of
SOAPHeader.getHeadersToProcess(RolePlayer, String) |
Modifier and Type | Class and Description |
---|---|
class |
TestGetMustUnderstand |
class |
TestGetVersion |
class |
TestSetMustUnderstandBoolean |
class |
TestSetMustUnderstandString01 |
class |
TestSetMustUnderstandWithInvalidValue |
Modifier and Type | Class and Description |
---|---|
class |
TestCloneIncomplete
Tests that
OMInformationItem.clone(OMCloneOptions) correctly clones a SOAPMessage
that is incomplete. |
class |
TestGetCharsetEncodingWithParser
Tests
OMDocument.getCharsetEncoding() on a SOAPMessage created by a builder. |
class |
TestGetOMFactoryWithParser
Tests that
OMInformationItem.getOMFactory() returns the expected SOAPFactory
when invoked on a SOAPMessage created by a builder. |
Modifier and Type | Class and Description |
---|---|
class |
TestXPathAppliedToSOAPEnvelope
Regression test for AXIOM-141.
|
Modifier and Type | Class and Description |
---|---|
class |
TestBuilder |
Modifier and Type | Class and Description |
---|---|
class |
TestAddElementAfterBody
Test that adding an arbitrary element to the envelope is allowed.
|
Modifier and Type | Class and Description |
---|---|
class |
TestGetNode |
class |
TestSetNode |
Modifier and Type | Class and Description |
---|---|
class |
TestGetValue
|
class |
TestGetValueWithParser |
class |
TestSetValueFromQName
Tests the behavior of
SOAPFaultClassifier.setValue(QName) when invoked on a SOAP 1.1
SOAPFaultCode . |
Modifier and Type | Class and Description |
---|---|
class |
TestAddSOAPText |
class |
TestGetFirstSOAPText |
class |
TestGetTextWithCDATA |
Modifier and Type | Class and Description |
---|---|
class |
TestExamineHeaderBlocksWithParser |
class |
TestExamineMustUnderstandHeaderBlocksWithParser |
class |
TestGetHeaderBlocksWithNSURIWithParser |
class |
TestGetHeadersToProcessWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestBuildWithAttachments |
class |
TestMTOMForwardStreaming
Tests that attachments are streamed (i.e.
|
Modifier and Type | Class and Description |
---|---|
class |
TestCreateSOAPFaultSubCode
|
Modifier and Type | Class and Description |
---|---|
class |
TestGetNodeWithParser |
class |
TestMoreChildrenAddition |
Modifier and Type | Class and Description |
---|---|
class |
TestGetSubCodeWithParser |
class |
TestSetValueFromQNameWithExistingValue
Tests the behavior of
SOAPFaultClassifier.setValue(QName) when invoked on a SOAP 1.2
SOAPFaultCode that already has a SOAPFaultValue child. |
Modifier and Type | Class and Description |
---|---|
class |
TestAddSOAPTextWithSOAPVersionMismatch |
class |
TestGetFirstSOAPTextWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestGetSubCodeNestedWithParser |
class |
TestGetValueNestedWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestGetLangWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestExamineMustUnderstandHeaderBlocks |
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.