| Modifier and Type | Class and Description |
|---|---|
class |
TestCloneNode |
class |
TestGetChildNodes |
class |
TestGetFirstChild |
class |
TestGetValueWithMultipleChildren |
class |
TestLookupNamespaceURI |
class |
TestLookupNamespaceURIWithoutOwnerElement
Tests the behavior of
Node.lookupNamespaceURI(String) on an attribute node that has no
owner element. |
class |
TestSetPrefixNotNullWithNamespace
Tests the behavior of
Node.setPrefix(String) on an Attr if the specified
prefix is not null (and not an empty string) and the attribute has a namespace. |
class |
TestSetPrefixNotNullWithoutNamespace
Tests that
Node.setPrefix(String) throws an exception if an attempt is made to set a
prefix on an Attr that has no namespace. |
| Modifier and Type | Class and Description |
|---|---|
class |
TestParseURI
Tests
DocumentBuilder.parse(String). |
class |
TestWhitespaceAroundDocumentElement
Test that whitespace around the document element is discarded.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TestAdoptNode
Tests the behavior of
Document.adoptNode(Node). |
class |
TestAdoptNodeToSameDocument
Tests the behavior of
Document.adoptNode(Node) if the node is
already owned by the document. |
class |
TestAdoptNodeWithParent
Tests the behavior of
Document.adoptNode(Node) if the node to adopt has a parent. |
class |
TestAllowedChildren |
class |
TestCreateAttribute |
class |
TestCreateAttributeNS |
class |
TestCreateAttributeNSInvalid |
class |
TestCreateAttributeNSWithoutNamespace |
class |
TestCreateCDATASection |
class |
TestCreateElement |
class |
TestCreateElementNS |
class |
TestCreateElementNSWithInvalidName |
class |
TestCreateElementNSWithoutNamespace |
class |
TestCreateEntityReference |
class |
TestCreateText |
class |
TestDocumentSiblings |
class |
TestGetDomConfigDefaults
Tests that the
DOMConfiguration object returned by Document.getDomConfig() is
initialized with the correct default values as defined by the DOM specification. |
class |
TestGetOwnerDocument
Tests that
Node.getOwnerDocument() returns null if the node is a
Document. |
class |
TestLookupNamespaceURIWithEmptyDocument
Tests the behavior of
Node.lookupNamespaceURI(String) on an empty Document. |
class |
TestNormalizeDocumentNamespace |
class |
TestTransformerWithIdentityStylesheet |
class |
TestTransformerWithStylesheet |
class |
TestValidator |
class |
TransformerTestCase |
| 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 |
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
Tests the behavior of
Node.replaceChild(Node, Node) if newChild is
null. |
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 |
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 |
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 |