Package org.apache.axiom.ts.dom.element

Class Summary
ReplaceChildTestCase  
TestAppendChild  
TestAppendChildCyclic Tests that Node.appendChild(Node) throws an appropriate exception if the invocation would result in a cyclic relationship.
TestAppendChildSelf Tests that Node.appendChild(Node) throws an appropriate exception if an attempt is made to add a node as a child of itself.
TestAppendChildWrongDocument Tests that Node.appendChild(Node) throws an appropriate exception if an attempt is made to append a child that has a different owner document.
TestAttributes  
TestAttributes2  
TestAttributes3  
TestAttributes4  
TestCloneNode  
TestCloneNodeWithAttributeHavingMultipleChildren  
TestCloneNodeWithAttributes Tests that Node.cloneNode(boolean) correctly clones the attributes of an element.
TestGetElementsByTagName Testing the NodeList returned with the elements's children
TestGetElementsByTagNameNS  
TestGetElementsByTagNameRecursive  
TestGetElementsByTagNameWithNamespaces  
TestGetElementsByTagNameWithWildcard  
TestGetNamespaceURIWithNoNamespace  
TestGetPrefixWithDefaultNamespace  
TestGetTextContent  
TestInsertBefore  
TestInsertBeforeWithDocumentFragment  
TestLookupNamespaceURIExplicit Tests the behavior of Node.lookupNamespaceURI(String) on an Element for namespaces defined explicitly by attributes representing namespace declarations.
TestLookupNamespaceURIImplicit Tests the behavior of Node.lookupNamespaceURI(String) on an Element for namespaces defined implicitly by the namespace prefix/URI of the element and its ancestors, i.e.
TestRemoveAttributeNotOwner Tests the behavior of Element.removeAttributeNode(Attr) if the given attribute is not owned by the element.
TestRemoveFirstChild  
TestRemoveLastChild  
TestRemoveSingleChild  
TestReplaceChildCyclic Tests the behavior of Node.replaceChild(Node, Node) if an attempt is made to replace a child with an ancestor of the node, i.e. if the replacement would create a cycle.
TestReplaceChildFirst Tests the behavior of Node.replaceChild(Node, Node).
TestReplaceChildFirstWithDocumentFragment Tests the behavior of Node.replaceChild(Node, Node) when replacing a child by a DocumentFragment.
TestReplaceChildLast Tests the behavior of Node.replaceChild(Node, Node).
TestReplaceChildLastWithDocumentFragment Tests the behavior of Node.replaceChild(Node, Node) when replacing a child by a DocumentFragment.
TestReplaceChildMiddle Tests the behavior of Node.replaceChild(Node, Node).
TestReplaceChildMiddleWithDocumentFragment Tests the behavior of Node.replaceChild(Node, Node) when replacing a child by a DocumentFragment.
TestReplaceChildNotFound Tests the behavior of Node.replaceChild(Node, Node) if oldChild is not a child.
TestReplaceChildNullNewChild Tests the behavior of Node.replaceChild(Node, Node) if newChild is null.
TestReplaceChildSingle Tests the behavior of Node.replaceChild(Node, Node).
TestReplaceChildWrongDocument  
TestSetAttributeNodeNSInUse  
TestSetAttributeNodeNSReplace Tests the behavior of Element.setAttributeNodeNS(Attr) when the element already has an attribute with the same local name and namespace URI, i.e. if the call will replace an existing attribute.
TestSetAttributeNodeNSWrongDocument  
TestSetAttributeNodeWrongDocument  
TestSetAttributeNS  
TestSetAttributeNSExisting Tests the behavior of Element.setAttributeNS(String, String, String) if the element already has an attribute with the same namespace URI and local name.
TestSetAttributeNSInvalid  
TestSetPrefixNotNullWithNamespace Tests the behavior of Node.setPrefix(String) on an Element if the specified prefix is not null (and not an empty string) and the element has a namespace.
TestSetPrefixNotNullWithoutNamespace Tests that Node.setPrefix(String) throws an exception if an attempt is made to set a prefix on an Element that has no namespace.
TestSetPrefixNull Tests the behavior of Node.setPrefix(String) on an Element if the specified prefix is null.
TestSetTextContent  
 



Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.