blob: fa6e201174946cf868d3c8428c97b4a4bb970f09 [file] [log] [blame]
Tests for a shadow element's getDistributedNodes().
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
getDistributedNodes() for "shadow" should return []
PASS distributedNodes.length is expectedDistributedNodes.length
getDistributedNodes() for "host/shadow" should return []
PASS distributedNodes.length is expectedDistributedNodes.length
getDistributedNodes() for "host/shadow" should return []
PASS distributedNodes.length is expectedDistributedNodes.length
getDistributedNodes() for "host/shadow" should return [host-child]
PASS distributedNodes.length is expectedDistributedNodes.length
PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[0])
getDistributedNodes() for "host/shadow" should return [host-child]
PASS distributedNodes.length is expectedDistributedNodes.length
PASS distributedNodes.item(0) is getNodeInComposedTree(expectedDistributedNodes[0])
PASS successfullyParsed is true
TEST COMPLETE