Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added test data for GetFeatureInfo
  • Loading branch information
elpaso committed Feb 22, 2016
1 parent 0a9063b commit 82cee03
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/testdata/qgis_server/wms_getfeatureinfo-text-html.txt
@@ -0,0 +1,21 @@
Content-Length: 360
Content-Type: text/html; charset=utf-8

<HEAD>
<TITLE> GetFeatureInfo results </TITLE>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
</HEAD>
<BODY>
<TABLE border=1 width=100%>
<TR><TH width=25%>Layer</TH><TD>testlayer èé</TD></TR>
</BR><TABLE border=1 width=100%>
<TR><TH>Feature</TH><TD>2</TD></TR>
<TR><TH>id</TH><TD>3</TD></TR>
<TR><TH>name</TH><TD>three</TD></TR>
<TR><TH>utf8nameè</TH><TD>three èé↓</TD></TR>
<TR><TH>geometry</TH><TD>Point (913204.9128 5606011.4565)</TD></TR>
</TABLE>
</BR>
</TABLE>
<BR></BR>
</BODY>
12 changes: 12 additions & 0 deletions tests/testdata/qgis_server/wms_getfeatureinfo-text-plain.txt
@@ -0,0 +1,12 @@
Content-Length: 157
Content-Type: text/plain; charset=utf-8

GetFeatureInfo results

Layer 'testlayer èé'
Feature 2
id = '3'
name = 'three'
utf8nameè = 'three èé↓'
geometry = 'Point (913204.9128 5606011.4565)'

0 comments on commit 82cee03

Please sign in to comment.