mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Test also layer server Abstract
ref https://github.com/qgis/QGIS/pull/55751#pullrequestreview-1807328965
This commit is contained in:
parent
1ba6f2c482
commit
4763dd0170
@ -202,7 +202,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
@ -226,7 +226,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
|
@ -202,7 +202,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
@ -226,7 +226,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
|
4
tests/testdata/qgis_server/getcontext.txt
vendored
4
tests/testdata/qgis_server/getcontext.txt
vendored
@ -73,7 +73,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Server default="true" service="urn:ogc:serviceType:WMS" version="1.3.0">
|
||||
<OnlineResource xlink:href="https://www.qgis.org/?*****"/>
|
||||
</Server>
|
||||
<ows:Abstract>A test vector layer with tag chars with title</ows:Abstract>
|
||||
<ows:Abstract>A test vector layer with <tag> chars with title</ows:Abstract>
|
||||
<StyleList>
|
||||
<Style current="true">
|
||||
<Name>default</Name>
|
||||
@ -87,7 +87,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Server default="true" service="urn:ogc:serviceType:WMS" version="1.3.0">
|
||||
<OnlineResource xlink:href="https://www.qgis.org/?*****"/>
|
||||
</Server>
|
||||
<ows:Abstract>A test vector layer with tag chars without title</ows:Abstract>
|
||||
<ows:Abstract>A test vector layer with <tag> chars without title</ows:Abstract>
|
||||
<StyleList>
|
||||
<Style current="true">
|
||||
<Name>default</Name>
|
||||
|
@ -237,7 +237,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer geometryType="Point" queryable="1" expanded="1" displayField="name" visibilityChecked="1" visible="1" opacity="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
@ -267,7 +267,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer geometryType="Point" queryable="1" expanded="1" displayField="name" visibilityChecked="1" visible="1" opacity="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
|
4
tests/testdata/qgis_server/test_project.qgs
vendored
4
tests/testdata/qgis_server/test_project.qgs
vendored
@ -573,7 +573,7 @@
|
||||
<id>testlayer2024010401</id>
|
||||
<datasource>./testlayer_tag_chars.shp</datasource>
|
||||
<title></title>
|
||||
<abstract>A test vector layer with tag chars without title</abstract>
|
||||
<abstract>A test vector layer with <tag> chars without title</abstract>
|
||||
<keywordList>
|
||||
<value></value>
|
||||
</keywordList>
|
||||
@ -797,7 +797,7 @@
|
||||
<id>testlayer2024010402</id>
|
||||
<datasource>./testlayer_tag_chars.shp</datasource>
|
||||
<title><title></title>
|
||||
<abstract>A test vector layer with tag chars with title</abstract>
|
||||
<abstract>A test vector layer with <tag> chars with title</abstract>
|
||||
<keywordList>
|
||||
<value></value>
|
||||
</keywordList>
|
||||
|
@ -178,7 +178,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<SRS>EPSG:3857</SRS>
|
||||
<LatLonBoundingBox maxy="44.901483" maxx="8.203547" miny="44.901394" minx="8.203459"/>
|
||||
@ -196,7 +196,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<SRS>EPSG:4326</SRS>
|
||||
<SRS>EPSG:3857</SRS>
|
||||
<LatLonBoundingBox maxy="44.901483" maxx="8.203547" miny="44.901394" minx="8.203459"/>
|
||||
|
@ -202,7 +202,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
@ -226,7 +226,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
|
@ -1,4 +1,4 @@
|
||||
Content-Length: 16721
|
||||
Content-Length: 16731
|
||||
Content-Type: text/xml; charset=utf-8
|
||||
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
@ -202,7 +202,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer name></Name>
|
||||
<Title><test layer name></Title>
|
||||
<Abstract>A test vector layer with tag chars without title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars without title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
@ -226,7 +226,7 @@ Content-Type: text/xml; charset=utf-8
|
||||
<Layer queryable="1">
|
||||
<Name><test layer title></Name>
|
||||
<Title><title></Title>
|
||||
<Abstract>A test vector layer with tag chars with title</Abstract>
|
||||
<Abstract>A test vector layer with <tag> chars with title</Abstract>
|
||||
<CRS>CRS:84</CRS>
|
||||
<CRS>EPSG:4326</CRS>
|
||||
<CRS>EPSG:3857</CRS>
|
||||
|
Loading…
x
Reference in New Issue
Block a user