changeset 486:67f6346fb300

Fixed Unittest for HorizontalCrossSections. gnv-artifacts/trunk@561 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 18 Jan 2010 11:32:23 +0000
parents 4939236c2dc9
children 9da25f0c5962
files gnv-artifacts/ChangeLog gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_04_feed.xml gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_chart.xml gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_csv.xml gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_odv.xml gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_wms.xml gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_zip.xml
diffstat 7 files changed, 35 insertions(+), 34 deletions(-) [+]
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog	Mon Jan 18 11:26:51 2010 +0000
+++ b/gnv-artifacts/ChangeLog	Mon Jan 18 11:32:23 2010 +0000
@@ -1,3 +1,16 @@
+2010-01-18  Tim Englich  <tim.englich@intevation.de>
+
+    * src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_chart.xml,
+      src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_odv.xml,
+      src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_csv.xml: 
+      Removed Files, because they are note required any more.
+	* src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_zip.xml: 
+	  Added new RequestFile for calling for retrieving a Zip-File from the Server.
+	* src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_wms.xml: 
+	  Added new RequestFile for calling for an WMS-Result.
+	* src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_04_feed.xml: 
+	   Added Polygon as WKT into the feed-Request.
+
 2010-01-18  Tim Englich  <tim.englich@intevation.de>
 
     * src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java (TestArtifactDatabase): 
--- a/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_04_feed.xml	Mon Jan 18 11:26:51 2010 +0000
+++ b/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_04_feed.xml	Mon Jan 18 11:32:23 2010 +0000
@@ -4,6 +4,6 @@
 	<art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
 	<art:hash value="6292125" />
 	<art:data>
-		<art:input name="mesh_polygon" value="0" />
+		<art:input name="mesh_polygon" value="POLYGON (( 3.619257904890151 60.124073114994786, -0.0100024331643465 58.22749190607598, 0.0602413153141276 54.73871906497843, 1.0436537940127657 53.33384409540895, 2.2612121009729846 52.13970037127489, 3.619257904890151 52.116285788448735, 4.789987046198053 53.544575340844375, 6.358764095550643 54.15335449432448, 8.021199476207865 54.10652532867217, 7.904126562077074 55.62847321237244, 8.021199476207865 57.22066484455119, 9.496318194255823 57.478225255638925, 9.941195267952825 57.876273163683614, 10.877778580999147 57.73578566672666, 10.760705666868358 57.05676276476808, 10.526559838606776 56.75237318802803, 11.228997323391518 56.28408153150487, 10.620218169911409 55.815789874981704, 11.346070237522309 55.2070107215016, 12.235824384916315 55.97969195476481, 12.306068133394788 56.61188569107108, 11.55680148295773 57.73578566672666, 10.924607746651462 58.64895439694683, 10.47973067295446 58.906514808034565,  9.777293188169718 58.57871064846835, 8.466076549904868 57.85285858085746, 7.014372414683068 57.45481067281277, 5.937301604679798 58.04017524346672,  4.930474543155002 59.11724605346999, 4.602670383588789 59.70261062412394, 4.5324266351103155 59.91334186955937,  4.321695389674892 59.889927286733204, 4.064134978587155 59.81968353825473, 3.619257904890151 60.10065853216863,  3.619257904890151 60.124073114994786))" />
 	</art:data>
 </art:action>
\ No newline at end of file
--- a/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_chart.xml	Mon Jan 18 11:26:51 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<art:action xmlns:art="http://www.intevation.de/2009/artifacts">
-	<art:type name="out" />
-    <art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
-    <art:hash value="6292125" />
-	<art:out name="chart">
-		<art:mime-type value="image/png" />
-		<art:params>
-			<art:input name="width" value="600" />
-			<art:input name="height" value="400" />
-		</art:params>
-	</art:out>
-</art:action>
--- a/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_csv.xml	Mon Jan 18 11:26:51 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<art:action xmlns:art="http://www.intevation.de/2009/artifacts">
-	<art:type name="out" />
-    <art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
-    <art:hash value="6292125" />
-	<art:out name="csv">
-		<art:out value="text/plain" />
-		<art:params />
-	</art:out>
-</art:action>
\ No newline at end of file
--- a/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_odv.xml	Mon Jan 18 11:26:51 2010 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<art:action xmlns:art="http://www.intevation.de/2009/artifacts">
-	<art:type name="out" />
-    <art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
-    <art:hash value="6292125" />
-	<art:out name="odv">
-		<art:out value="text/plain" />
-		<art:params />
-	</art:out>
-</art:action>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_wms.xml	Mon Jan 18 11:32:23 2010 +0000
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<art:action xmlns:art="http://www.intevation.de/2009/artifacts">
+	<art:type name="out" />
+    <art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
+    <art:hash value="6292125" />
+	<art:out name="wms">
+		<art:out value="text/url" />
+		<art:params />
+	</art:out>
+</art:action>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gnv-artifacts/src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_step_07_out_zip.xml	Mon Jan 18 11:32:23 2010 +0000
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<art:action xmlns:art="http://www.intevation.de/2009/artifacts">
+	<art:type name="out" />
+    <art:uuid value="74baff94-b172-4667-b6d8-db21abeb1b81" />
+    <art:hash value="6292125" />
+	<art:out name="zip">
+		<art:mime-type value="application/zip" />
+		<art:params>
+		</art:params>
+	</art:out>
+</art:action>

http://dive4elements.wald.intevation.org