[mapserver-commits] r7640 - in trunk/msautotest/wxs: . expected
svn at osgeo.org
svn at osgeo.org
Mon Jun 2 20:52:50 EDT 2008
Author: tomkralidis
Date: 2008-06-02 20:52:49 -0400 (Mon, 02 Jun 2008)
New Revision: 7640
Added:
trunk/msautotest/wxs/expected/wcs_getcov_exception_bands.xml
Modified:
trunk/msautotest/wxs/wcs_simple.map
Log:
- add test for handle PARAMETER values correctly (#2509)
Added: trunk/msautotest/wxs/expected/wcs_getcov_exception_bands.xml
===================================================================
--- trunk/msautotest/wxs/expected/wcs_getcov_exception_bands.xml (rev 0)
+++ trunk/msautotest/wxs/expected/wcs_getcov_exception_bands.xml 2008-06-03 00:52:49 UTC (rev 7640)
@@ -0,0 +1,8 @@
+Content-type: application/vnd.ogc.se_xml
+
+<?xml version='1.0' encoding="ISO-8859-1" ?>
+<ServiceExceptionReport version="1.2.0"
+xmlns="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengeospatial.net/wcs/1.0.0/OGC-exception.xsd">
+ <ServiceException code="InvalidParameterValue" locator="bands">msWCSGetCoverage(): WCS server error. Error specifying "bands" parameter value(s).
+ </ServiceException>
+</ServiceExceptionReport>
Modified: trunk/msautotest/wxs/wcs_simple.map
===================================================================
--- trunk/msautotest/wxs/wcs_simple.map 2008-06-03 00:49:41 UTC (rev 7639)
+++ trunk/msautotest/wxs/wcs_simple.map 2008-06-03 00:52:49 UTC (rev 7640)
@@ -59,6 +59,9 @@
# GetCoverage to AAIGRID 1.0
# RUN_PARMS: wcs_getcov_grd_10.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&RESX=30&RESY=30&FORMAT=AAIGRID&BBOX=0,0,400,300&COVERAGE=grey&CRS=EPSG:32611" > [RESULT]
#
+# GetCoverage exception (invalid bands value)
+# RUN_PARMS: wcs_getcov_exception_bands.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&RESX=30&RESY=30&FORMAT=AAIGRID&BBOX=0,0,400,300&COVERAGE=grey&CRS=EPSG:32611&bands=FOO" > [RESULT]
+#
# GetCoverage to AAIGRID 1.1 (normal CRS)
# RUN_PARMS: wcs_getcov_grd_11.dat [MAPSERV] QUERY_STRING="map=[MAPFILE]&SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&FORMAT=AAIGRID&BOUNDINGBOX=0,0,400,300,urn:ogc:def:crs:EPSG::32611&IDENTIFIER=grey&GridCS=urn:ogc:def:crs:OGC::imageCRS&GridType=urn:ogc:def:method:WCS:1.1:2dGridIn2dCrs&GridOrigin=0,295&GridOffsets=30,-30" > [RESULT]
#
More information about the mapserver-commits
mailing list