OpenLayers OpenLayers

Changeset 6341

Show
Ignore:
Timestamp:
02/21/08 19:12:07 (11 months ago)
Author:
tschaub
Message:

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)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tests/run-tests.html

    r5818 r6341  
    22992299} 
    23002300// --> 
    2301 </script></head><body> 
     2301</script> 
     2302<script type="text/javascript" src="xml_eq.js"></script> 
     2303</head><body> 
    23022304 
    23032305<div id="col1">