Summary

Harness status: OK

Found 7 tests

Details

ResultTest NameMessage
PassFor Element nodes, nodeName should return the same as tagName.
Asserts run
Pass
assert_equals("I", "I")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:14:3)
Pass
assert_equals("i", "i")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:15:3)
Pass
assert_equals("svg", "svg")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:16:3)
Pass
assert_equals("SVG", "SVG")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:17:3)
Pass
assert_equals("x:b", "x:b")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:18:3)
PassFor Text nodes, nodeName should return "#text".
Asserts run
Pass
assert_equals("#text", "#text")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:21:3)
PassFor ProcessingInstruction nodes, nodeName should return the target.
Asserts run
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:24:3)
PassFor Comment nodes, nodeName should return "#comment".
Asserts run
Pass
assert_equals("#comment", "#comment")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:28:3)
PassFor Document nodes, nodeName should return "#document".
Asserts run
Pass
assert_equals("#document", "#document")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:31:3)
PassFor DocumentType nodes, nodeName should return the name.
Asserts run
Pass
assert_equals("html", "html")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:34:3)
PassFor DocumentFragment nodes, nodeName should return "#document-fragment".
Asserts run
Pass
assert_equals("#document-fragment", "#document-fragment")
    at Test.<anonymous> ( /dom/nodes/Node-nodeName-xhtml.xhtml:37:3)