diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalProfileTestCase.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/MeshHorizontalProfileTestCase.java	Wed Jan 27 15:03:16 2010 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/MeshHorizontalProfileTestCase.java	Fri Jan 29 13:19:34 2010 +0000
@@ -55,7 +55,7 @@
             CallContext cc = createCallContext(artifactFactory);
             Document describeDocument = this.readDocument("src/test/ressources/horizontalProfile_mesh/horizontalprofile_describe.xml");
             
-            int steps = 10;
+            int steps = 11;
             
             for (int i = 1; i <= steps; i++){
                 String number = ""+i;
@@ -92,19 +92,19 @@
                                 + System.currentTimeMillis() + ".odv");
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalProfile_mesh/" +
-                                               "horizontalprofile_step_10_out_statistics.xml"),
+                                               "horizontalprofile_step_"+steps+"_out_statistics.xml"),
                              fos2, cc);
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalProfile_mesh/" +
-                                               "horizontalprofile_step_10_out_chart.xml"),
+                                               "horizontalprofile_step_"+steps+"_out_chart.xml"),
                                 fos, cc);
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalProfile_mesh/" +
-                                               "horizontalprofile_step_10_out_csv.xml"),
+                                               "horizontalprofile_step_"+steps+"_out_csv.xml"),
                              fos3, cc);
                 artifact.out(this.readDocument("src/test/ressources/" +
                                                "horizontalProfile_mesh/" +
-                                               "horizontalprofile_step_10_out_odv.xml"),
+                                               "horizontalprofile_step_"+steps+"_out_odv.xml"),
                              fos4, cc);
             } catch (Exception e) {
                 log.error(e, e);

http://dive4elements.wald.intevation.org