diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalCrossSectionTestCase.java @ 591:b8ba642b6866

Fixed the broken JUnittests. gnv-artifacts/trunk@646 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 29 Jan 2010 13:19:34 +0000
parents 4939236c2dc9
children e0d7b8a0bc42
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalCrossSectionTestCase.java	Wed Jan 27 15:03:16 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalCrossSectionTestCase.java	Fri Jan 29 13:19:34 2010 +0000
@@ -54,7 +54,7 @@
 
             CallContext cc = createCallContext(artifactFactory);
             Document describeDocument = this.readDocument("src/test/ressources/horizontalcrosssection_mesh/horizontalcrosssection_describe.xml");
-            int steps = 7;
+            int steps = 8;
             
             for (int i = 1; i <= steps; i++){
                 this.doNextStep(
@@ -79,11 +79,11 @@
                                 + System.currentTimeMillis() + ".txt");
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalcrosssection_mesh/" +
-                                               "horizontalcrosssection_step_07_out_zip.xml"),
+                                               "horizontalcrosssection_step_0"+steps+"_out_zip.xml"),
                               fos, cc);
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalcrosssection_mesh/" +
-                                               "horizontalcrosssection_step_07_out_wms.xml"),
+                                               "horizontalcrosssection_step_0"+steps+"_out_wms.xml"),
                              fos2,cc);
             } catch (Exception e) {
                 log.error(e, e);

http://dive4elements.wald.intevation.org