add parsing of layer name in WMS DescribeLayer format, r=elemoine (closes #2027)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9570 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
bartvde
2009-07-20 12:18:02 +00:00
parent feb29516b3
commit f4d60b89a8
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -4,7 +4,7 @@
<script type="text/javascript">
function test_read_WMSDescribeLayer(t) {
t.plan(4);
t.plan(5);
var parser = new OpenLayers.Format.WMSDescribeLayer();
@@ -29,6 +29,9 @@
t.eq(res[0].typeName, "topp:states",
"Properly parses typeName");
t.eq(res[0].layerName, "topp:states",
"Properly parses name");
}
</script>