-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4505 from boundlessgeo/server-more-filter-tests
[server] More WMS tests for FILTER parameter with bool operators and …
- Loading branch information
Showing
4 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
tests/testdata/qgis_server/wms_getfeatureinfo_filter_or.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Content-Length: 943 | ||
Content-Type: text/xml; charset=utf-8 | ||
|
||
<GetFeatureInfoResponse> | ||
<BoundingBox CRS="EPSG:3857" maxx="913214.67407005" minx="913204.91280263" maxy="5606017.87425818" miny="5606011.45647302"/> | ||
<Layer name="testlayer èé"> | ||
<Feature id="1"> | ||
<Attribute value="2" name="id"/> | ||
<Attribute value="two" name="name"/> | ||
<Attribute value="two àò" name="utf8nameè"/> | ||
<BoundingBox CRS="EPSG:3857" maxx="913214.6741" minx="913214.6741" maxy="5606017.8743" miny="5606017.8743"/> | ||
<Attribute value="Point (913214.6741 5606017.8743)" type="derived" name="geometry"/> | ||
</Feature> | ||
<Feature id="2"> | ||
<Attribute value="3" name="id"/> | ||
<Attribute value="three" name="name"/> | ||
<Attribute value="three èé↓" name="utf8nameè"/> | ||
<BoundingBox CRS="EPSG:3857" maxx="913204.9128" minx="913204.9128" maxy="5606011.4565" miny="5606011.4565"/> | ||
<Attribute value="Point (913204.9128 5606011.4565)" type="derived" name="geometry"/> | ||
</Feature> | ||
</Layer> | ||
</GetFeatureInfoResponse> |
22 changes: 22 additions & 0 deletions
22
tests/testdata/qgis_server/wms_getfeatureinfo_filter_or_utf8.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Content-Length: 943 | ||
Content-Type: text/xml; charset=utf-8 | ||
|
||
<GetFeatureInfoResponse> | ||
<BoundingBox CRS="EPSG:3857" maxx="913214.67407005" minx="913204.91280263" maxy="5606017.87425818" miny="5606011.45647302"/> | ||
<Layer name="testlayer èé"> | ||
<Feature id="1"> | ||
<Attribute value="2" name="id"/> | ||
<Attribute value="two" name="name"/> | ||
<Attribute value="two àò" name="utf8nameè"/> | ||
<BoundingBox CRS="EPSG:3857" maxx="913214.6741" minx="913214.6741" maxy="5606017.8743" miny="5606017.8743"/> | ||
<Attribute value="Point (913214.6741 5606017.8743)" type="derived" name="geometry"/> | ||
</Feature> | ||
<Feature id="2"> | ||
<Attribute value="3" name="id"/> | ||
<Attribute value="three" name="name"/> | ||
<Attribute value="three èé↓" name="utf8nameè"/> | ||
<BoundingBox CRS="EPSG:3857" maxx="913204.9128" minx="913204.9128" maxy="5606011.4565" miny="5606011.4565"/> | ||
<Attribute value="Point (913204.9128 5606011.4565)" type="derived" name="geometry"/> | ||
</Feature> | ||
</Layer> | ||
</GetFeatureInfoResponse> |
7 changes: 7 additions & 0 deletions
7
tests/testdata/qgis_server/wms_getfeatureinfo_filter_wrong.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Content-Length: 151 | ||
Content-Type: text/xml; charset=utf-8 | ||
|
||
<GetFeatureInfoResponse> | ||
<BoundingBox CRS="EPSG:3857" maxx="0" minx="0" maxy="0" miny="0"/> | ||
<Layer name="testlayer èé"/> | ||
</GetFeatureInfoResponse> |