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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user