[mapserver-commits] r7143 - trunk/msautotest/wxs

svn at osgeo.org svn at osgeo.org
Wed Dec 5 12:03:44 EST 2007


Author: nsavard
Date: 2007-12-05 12:03:44 -0500 (Wed, 05 Dec 2007)
New Revision: 7143

Modified:
   trunk/msautotest/wxs/sos.map
Log:
Added a test when a GetCapabilities request is sent with a higher version than the one of the server.  Added a test with an invalid version number for DescribeSensor, a test with a wrong datablock format for a GetObservation request and a test with a wrong observedProperty for a GetObservation request.

Modified: trunk/msautotest/wxs/sos.map
===================================================================
--- trunk/msautotest/wxs/sos.map	2007-12-03 23:42:19 UTC (rev 7142)
+++ trunk/msautotest/wxs/sos.map	2007-12-05 17:03:44 UTC (rev 7143)
@@ -10,16 +10,17 @@
 # RUN_PARMS: sos_se0.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS" > [RESULT]
 # RUN_PARMS: sos_se1.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0" > [RESULT]
 # RUN_PARMS: sos_se2.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=FOO" > [RESULT]
-# RUN_PARMS: sos_se3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.3.0&request=GetCapabilities" > [RESULT]
 #
 #  Valid
 #
+# RUN_PARMS: sos_cap0.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.3.0&request=GetCapabilities" > [RESULT]
 # RUN_PARMS: sos_cap.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetCapabilities" > [RESULT_DEVERSION]
 #
 # DescribeSensor
 #
 #  Exceptions
 #
+# RUN_PARMS: sos_se3.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.1.0&request=DescribeSensor" > [RESULT]
 # RUN_PARMS: sos_se4.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=DescribeSensor" > [RESULT]
 # RUN_PARMS: sos_se5.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=DescribeSensor&sensorid=2147" > [RESULT]
 # RUN_PARMS: sos_se6.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=DescribeSensor&sensorid=2147&outputFormat=XML" > [RESULT]
@@ -29,6 +30,18 @@
 #
 # RUN_PARMS: sos_describe.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=DescribeSensor&sensorId=35&outputFormat=text/xml; subtype=sensorML/1.0.0" > [RESULT]
 #
+# GetObservation
+#
+# Exceptions
+#
+# GetObservation (Wrong DataBlock format)
+# RUN_PARMS: sos_se8.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=WaterQuality&resultModel=om:Notice" > [RESULT]
+#
+# GetObservation (wrong observedProperty)
+# RUN_PARMS: sos_se9.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=AirQuality" > [RESULT]
+#
+#  Valid
+#
 # GetObservation (all observations)
 # RUN_PARMS: sos_getobs_all.xml [MAPSERV] QUERY_STRING="map=[MAPFILE]&service=SOS&version=1.0.0&request=GetObservation&responseFormat=text/xml; subtype=om/1.0.0&offering=Water&observedProperty=WaterQuality" > [RESULT]
 #



More information about the mapserver-commits mailing list