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 | Method and Description |
---|---|
protected void |
AxiomTestSuiteBuilder.addTest(AxiomTestCase test) |
Modifier and Type | Class and Description |
---|---|
class |
TestEqualsHashCode |
class |
TestGetQNameWithNamespace
Tests that
OMAttribute.getQName() returns the correct value for an attribute (with
namespace) created by OMFactory.createOMAttribute(String, OMNamespace, String) . |
Modifier and Type | Class and Description |
---|---|
class |
TestCreateOMBuilderFromDOMSource |
class |
TestCreateOMBuilderFromSAXSource |
class |
TestGetDocumentElement
Tests the behavior of
OMXMLParserWrapper.getDocumentElement() . |
class |
TestGetDocumentElementWithDiscardDocument
Tests the behavior of
OMXMLParserWrapper.getDocumentElement(boolean) with
discardDocument set to true . |
class |
TestInvalidXML |
class |
TestIOExceptionInGetText
Test the behavior of the builder when an exception is thrown by
XMLStreamReader.getText() . |
Modifier and Type | Class and Description |
---|---|
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 |
SerializationMethod.addTestProperties(AxiomTestCase testCase) |
void |
OMElementFactory.addTestProperties(AxiomTestCase testCase) |
void |
OMContainerFactory.addTestProperties(AxiomTestCase testCase) |
void |
SerializeToOutputStream.addTestProperties(AxiomTestCase testCase) |
Modifier and Type | Class and Description |
---|---|
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 |
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). |
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 |
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 |
TestAddChild |
class |
TestAddChildWithParent
Test that
OMContainer.addChild(org.apache.axiom.om.OMNode) behaves
correctly if the child to be added already has a parent. |
class |
TestDeclareNamespace1 |
class |
TestGetAllAttributes1
Test
OMElement.getAllAttributes() on a programmatically created document. |
class |
TestGetAllAttributes2
Test
OMElement.getAllAttributes() on a parsed document. |
class |
TestGetAllDeclaredNamespaces |
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 |
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 |
TestGetFirstChildWithName
Tests the behavior of
OMContainer.getFirstChildWithName(QName) . |
class |
TestGetFirstChildWithNameOnIncompleteElement
Tests the behavior of
OMContainer.getFirstChildWithName(QName) on an incomplete element. |
class |
TestGetNamespaceURI |
class |
TestGetNamespaceURIWithoutNamespace |
class |
TestGetQNameWithoutNamespace |
class |
TestGetXMLStreamReaderCDATAEventFromElement |
class |
TestGetXMLStreamReaderCDATAEventFromParser |
class |
TestGetXMLStreamReaderCommentEvent |
class |
TestGetXMLStreamReaderGetElementText |
class |
TestGetXMLStreamReaderGetNamespaceContext |
class |
TestGetXMLStreamReaderNextTag |
class |
TestGetXMLStreamReaderOnNonRootElement |
class |
TestGetXMLStreamReaderWithOMSourcedElementDescendant |
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 |
TestSetText |
class |
TestSetTextQName
Tests the behavior of
OMElement.setText(QName) , in particular that it adds a
namespace declaration if necessary. |
Modifier and Type | Class and Description |
---|---|
class |
TestCreateOMElementWithDefaultNamespace |
class |
TestCreateOMElementWithGeneratedPrefix |
class |
TestCreateOMElementWithNonDefaultNamespace |
class |
TestCreateOMElementWithoutNamespace |
class |
TestCreateOMNamespace |
class |
TestCreateOMNamespaceWithNullURI |
class |
TestCreateOMText |
class |
TestCreateOMTextFromDataHandlerProvider |
Modifier and Type | Class and Description |
---|---|
class |
TestDetach
Tests the behavior of
OMNode.detach() . |
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 |
TestBase64Streaming
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). |
Modifier and Type | Class and Description |
---|---|
class |
SOAPTestCase |
Modifier and Type | Class and Description |
---|---|
class |
TestAddFault1 |
class |
TestAddFault2 |
class |
TestGetFault |
class |
TestGetFaultWithParser |
class |
TestHasFault |
class |
TestHasFaultWithParser |
Modifier and Type | Class and Description |
---|---|
class |
BadInputTest |
Modifier and Type | Class and Description |
---|---|
class |
TestAddHeaderToIncompleteEnvelope
Test the behavior when adding a header to an envelope that has not yet been built completely.
|
class |
TestBodyHeaderOrder |
class |
TestDiscardHeader |
class |
TestGetBody |
class |
TestGetBodyOnEmptyEnvelope |
class |
TestGetBodyOnEnvelopeWithHeaderOnly |
class |
TestGetBodyWithParser |
class |
TestGetHeader |
class |
TestGetHeaderWithParser |
class |
TestGetSOAPBodyFirstElementLocalNameAndNS |
Modifier and Type | Class and Description |
---|---|
class |
TestCreateSOAPEnvelope |
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 |
Modifier and Type | Class and Description |
---|---|
class |
TestAddDetailEntry |
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 |
TestExamineAllHeaderBlocks |
class |
TestExamineHeaderBlocks |
class |
TestExtractAllHeaderBlocks |
class |
TestGetHeaderBlocksWithNSURI |
Modifier and Type | Class and Description |
---|---|
class |
TestGetMustUnderstand |
class |
TestSetMustUnderstandBoolean |
class |
TestSetMustUnderstandString01 |
class |
TestSetMustUnderstandWithInvalidValue |
Modifier and Type | Class and Description |
---|---|
class |
TestSOAP11Roles |
Modifier and Type | Class and Description |
---|---|
class |
TestAddElementAfterBody
Test that an attempt to add an arbitrary element to the SOAP envelope triggers an exception.
|
Modifier and Type | Class and Description |
---|---|
class |
TestGetNode |
class |
TestGetNodeWithParser |
class |
TestMoreChildrenAddition |
class |
TestSetNode |
Modifier and Type | Class and Description |
---|---|
class |
TestGetSubCodeWithParser |
class |
TestGetTextAsQNameWithParser
Tests that the
SOAPFaultCode implementation for SOAP 1.2 overrides the
OMElement.getTextAsQName() method such that it gets the QName from the Value
element. |
class |
TestGetValueWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestAddSOAPText |
class |
TestAddSOAPTextWithSOAPVersionMismatch |
class |
TestGetFirstSOAPText |
class |
TestGetFirstSOAPTextWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestGetLangWithParser |
Modifier and Type | Class and Description |
---|---|
class |
TestExamineAllHeaderBlocksWithParser |
class |
TestExamineHeaderBlocksWithParser |
class |
TestExamineMustUnderstandHeaderBlocks |
class |
TestExamineMustUnderstandHeaderBlocksWithParser |
class |
TestGetHeaderBlocksWithNSURIWithParser |
class |
TestSOAP12Roles |
Copyright © 2004–2018 The Apache Software Foundation. All rights reserved.