Modifier and Type | Class and Description |
---|---|
class |
TestGetFirstChild |
class |
TestGetValueWithMultipleChildren |
class |
TestLookupNamespaceURIWithoutOwnerElement
Tests the behavior of
Node.lookupNamespaceURI(String) on an attribute node that has no
owner element. |
Modifier and Type | Class and Description |
---|---|
class |
TestParseURI
|
class |
TestWhitespaceAroundDocumentElement
Test that whitespace around the document element is discarded.
|
Modifier and Type | Class and Description |
---|---|
class |
TestLookupNamespaceURI
Tests that a call to
Node.lookupNamespaceURI(String) on a DocumentFragment always
returns null (in contrast to Document ), even if one of its children has a
matching namespace declaration. |
Modifier and Type | Class and Description |
---|---|
class |
TestWithParser1 |
class |
TestWithParser2 |
Modifier and Type | Class and Description |
---|---|
class |
ReplaceChildTestCase |
class |
TestAppendChild |
class |
TestAppendChildCyclic
Tests that
Node.appendChild(Node) throws an appropriate exception if the invocation would
result in a cyclic relationship. |
class |
TestAppendChildSelf
Tests that
Node.appendChild(Node) throws an appropriate exception if an attempt is made
to add a node as a child of itself. |
class |
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. |
class |
TestAttributes |
class |
TestAttributes2 |
class |
TestAttributes3 |
class |
TestAttributes4 |
class |
TestCloneNode |
class |
TestCloneNodeWithAttributeHavingMultipleChildren |
class |
TestCloneNodeWithAttributes
Tests that
Node.cloneNode(boolean) correctly clones the attributes of an element. |
class |
TestGetElementsByTagName
Testing the NodeList returned with the elements's children
|
class |
TestGetElementsByTagNameNS |
class |
TestGetElementsByTagNameRecursive |
class |
TestGetElementsByTagNameWithNamespaces |
class |
TestGetElementsByTagNameWithWildcard |
class |
TestGetNamespaceURIWithNoNamespace |
class |
TestGetPrefixWithDefaultNamespace |
class |
TestGetTextContent |
class |
TestInsertBefore |
class |
TestInsertBeforeWithDocumentFragment |
class |
TestLookupNamespaceURIExplicit
Tests the behavior of
Node.lookupNamespaceURI(String) on an Element for
namespaces defined explicitly by attributes representing namespace declarations. |
class |
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. |
class |
TestRemoveAttributeNotOwner
Tests the behavior of
Element.removeAttributeNode(Attr) if the given attribute is not
owned by the element. |
class |
TestRemoveFirstChild |
class |
TestRemoveLastChild |
class |
TestRemoveSingleChild |
class |
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. |
class |
TestReplaceChildFirst
Tests the behavior of
Node.replaceChild(Node, Node) . |
class |
TestReplaceChildFirstWithDocumentFragment
Tests the behavior of
Node.replaceChild(Node, Node) when replacing a child by a
DocumentFragment . |
class |
TestReplaceChildLast
Tests the behavior of
Node.replaceChild(Node, Node) . |
class |
TestReplaceChildLastWithDocumentFragment
Tests the behavior of
Node.replaceChild(Node, Node) when replacing a child by a
DocumentFragment . |
class |
TestReplaceChildMiddle
Tests the behavior of
Node.replaceChild(Node, Node) . |
class |
TestReplaceChildMiddleWithDocumentFragment
Tests the behavior of
Node.replaceChild(Node, Node) when replacing a child by a
DocumentFragment . |
class |
TestReplaceChildNotFound
Tests the behavior of
Node.replaceChild(Node, Node) if oldChild is not a
child. |
class |
TestReplaceChildNullNewChild
|
class |
TestReplaceChildSingle
Tests the behavior of
Node.replaceChild(Node, Node) . |
class |
TestReplaceChildWrongDocument |
class |
TestSetAttributeNodeNSInUse |
class |
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. |
class |
TestSetAttributeNodeNSWrongDocument |
class |
TestSetAttributeNodeWrongDocument |
class |
TestSetAttributeNS |
class |
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. |
class |
TestSetAttributeNSInvalid |
class |
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. |
class |
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. |
class |
TestSetPrefixNull
Tests the behavior of
Node.setPrefix(String) on an Element if the specified
prefix is null. |
class |
TestSetTextContent |
Modifier and Type | Class and Description |
---|---|
class |
TestSetNamedItemNSWrongDocument |
class |
TestSetNamedItemWrongDocument |
Modifier and Type | Class and Description |
---|---|
class |
TestAppendData |
class |
TestGetChildNodes |
class |
TestGetLength
Tests that
CharacterData.getLength() returns the expected result. |
class |
TestGetWholeText |
class |
TestGetWholeTextWithCDATASection |
class |
TestGetWholeTextWithComment |
class |
TestLookupNamespaceURIWithNSDeclInScope
Tests that a call to
Node.lookupNamespaceURI(String) on a Text node locates
namespace declarations present on an ancestor element of the node. |
class |
TestLookupNamespaceURIWithoutParent
Tests the behavior of
Node.lookupNamespaceURI(String) on a Text node without
parent. |
class |
TestSetPrefix
Tests that calling
Node.setPrefix(String) on a text node results in an exception. |
class |
TestSplitText |
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.