@@ -112,10 +112,36 @@ ogcapi-features10() {
112
112
run_rest_test_suite " ogcapi-features-1.0" " testng" " iut=http://geoserver:8080/geoserver/ogc/features/v1" " noofcollections=-1"
113
113
}
114
114
115
+ geotiff11 () {
116
+ # RGB WMS
117
+ run_rest_test_suite_prefix " geotiff11" " 01-wms-" " testng" " iut=http:%2F%2Fgeoserver:8080%2Fgeoserver%2Fwms?service%3DWMS%26version%3D1.1.0%26request%3DGetMap%26layers%3Dtopp%3Atazbm%26bbox%3D146.49999999999477%2C-44.49999999999785%2C147.99999999999474%2C-42.99999999999787%26width%3D767%26height%3D768%26srs%3DEPSG%3A4326%26styles%3D%26format%3Dimage%2Fgeotiff"
118
+
119
+ # single band WCS
120
+ run_rest_test_suite_prefix " geotiff11" " 02-wcs-dem-basic-" " testng" " iut=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Ftopp%2Fows%3Fservice%3DWCS%26version%3D2.0.1%26request%3DGetCoverage%26coverageId%3Dtopp__tazdem"
121
+
122
+ # single band rotated
123
+ run_rest_test_suite_prefix " geotiff11" " 03-wcs-rotated-" " testng" " iut=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Ftopp%2Fows%3Fservice%3DWCS%26version%3D2.0.1%26request%3DGetCoverage%26coverageId%3Dtopp__rotated"
124
+
125
+ # single band, deflate compressed, tiled, WCS
126
+ run_rest_test_suite_prefix " geotiff11" " 04-wcs-dem-deflate-tiled-" " testng" " iut=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Ftopp%2Fows%3Fservice%3DWCS%26version%3D2.0.1%26request%3DGetCoverage%26coverageId%3Dtopp__tazdem%26compression%3DDeflate%26tiling%3Dtrue%26tileheight%3D256%26tilewidth%3D256"
127
+
128
+ # three band, JPEG compressed, small tiles, WCS
129
+ run_rest_test_suite_prefix " geotiff11" " 05-wcs-dem-jpeg-tinytiles-" " testng" " iut=http%3A%2F%2Fgeoserver%3A8080%2Fgeoserver%2Ftopp%2Fows%3Fservice%3DWCS%26version%3D2.0.1%26request%3DGetCoverage%26coverageId%3Dtopp__tazbm%26compression%3DJPEG%26compression%3DJPEG%26jpeg_quality%3D75%26tiling%3Dtrue%26tileheight%3D32%26tilewidth%3D32"
130
+ }
131
+
115
132
run_rest_test_suite () {
133
+ local suite_name=$1
134
+ local format=$2
135
+ shift 2
136
+ run_rest_test_suite_prefix " $suite_name " " " " $format " " $@ "
137
+ }
138
+
139
+ run_rest_test_suite_prefix () {
140
+ set +x
141
+
116
142
local suite_name=$1
117
- local targetfile=" /logs/$2 -results.xml"
118
- shift 2
143
+ local targetfile=" /logs/$2$3 -results.xml"
144
+ shift 3
119
145
local params=(" $@ " )
120
146
121
147
echo $0
@@ -134,7 +160,6 @@ run_rest_test_suite() {
134
160
echo $testurl
135
161
credentials=" ogctest:ogctest"
136
162
137
- set +x
138
163
139
164
echo
140
165
echo Running tests
@@ -149,6 +174,7 @@ run_rest_test_suite() {
149
174
curl -v -s -u " $credentials " " $testurl " -H " Accept: application/xml" > $targetfile
150
175
}
151
176
177
+
152
178
interactive () {
153
179
/usr/local/tomcat/bin/startup.sh
154
180
while true ; do sleep 100000; done
0 commit comments