Adding a xml_eq method to Test.AnotherWay test objects. The function takes two nodes (or strings) and a message. A test passes when got and expected nodes have the same type, the same name, the same namespace prefix and uri, the same attributes, and the same children (based on the same criteria). Otherwise it fails. Failure messages tell you at which child on which node which criteria was not met. (closes #1383)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@6341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-02-22 00:12:07 +00:00
parent 0f8f8c4249
commit 39b2cae514
2 changed files with 272 additions and 1 deletions

View File

@@ -2298,7 +2298,9 @@ onload=function()
}
}
// -->
</script></head><body>
</script>
<script type="text/javascript" src="xml_eq.js"></script>
</head><body>
<div id="col1">
<div id="col1_header">Test pages:</div>