diff gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java @ 211:310874d3573f

Minimum and Maximum Depth should be entered by the User issue31 gnv-artifacts/trunk@267 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Mon, 26 Oct 2009 15:51:36 +0000
parents 2f6a96610cb9
children c0a798299efc
line wrap: on
line diff
--- a/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java	Fri Oct 23 14:29:50 2009 +0000
+++ b/gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/GNVArtifactsTestCase.java	Mon Oct 26 15:51:36 2009 +0000
@@ -177,11 +177,11 @@
                             String feedDocument, String advanceDocument)
                                                                         throws Exception {
         Document outputData = artifact.describe(cc);
-        this.writeDocument2Log(outputData);
+//        this.writeDocument2Log(outputData);
         outputData = artifact.feed(this.readDocument(feedDocument), cc);
         this.check4ExceptionReport(outputData);
         outputData = artifact.advance(this.readDocument(advanceDocument), cc);
-        this.writeDocument2Log(outputData);
+//        this.writeDocument2Log(outputData);
         this.check4ExceptionReport(outputData);
 
     }
@@ -343,6 +343,15 @@
                             cc,
                             "src/test/ressources/verticalprofile/verticalprofile_step_03_feed.xml",
                             "src/test/ressources/verticalprofile/verticalprofile_step_03_advance.xml");
+            
+            // Vierter Schritt
+            this
+                    .doNextStep(
+                            artifact,
+                            cc,
+                            "src/test/ressources/verticalprofile/verticalprofile_step_04_feed.xml",
+                            "src/test/ressources/verticalprofile/verticalprofile_step_04_advance.xml");
+
 
             // Vierter Schritt
             Document outputData = artifact.describe(cc);
@@ -362,22 +371,22 @@
                 artifact
                         .feed(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_04_feed.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_05_feed.xml"),
                                 cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_04_out_statistics.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_05_out_statistics.xml"),
                                 fos2, cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_04_out_chart.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_05_out_chart.xml"),
                                 fos, cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_04_out_csv.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile/verticalprofile_step_05_out_csv.xml"),
                                 fos3, cc);
             } catch (Exception e) {
                 log.error(e, e);
@@ -549,6 +558,13 @@
                             cc,
                             "src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_03_feed.xml",
                             "src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_03_advance.xml");
+            // Vierter Schritt
+            this
+                    .doNextStep(
+                            artifact,
+                            cc,
+                            "src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_feed.xml",
+                            "src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_advance.xml");
 
             // Vierter Schritt
             Document outputData = artifact.describe(cc);
@@ -568,22 +584,22 @@
                 artifact
                         .feed(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_feed.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_05_feed.xml"),
                                 cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_out_statistics.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_05_out_statistics.xml"),
                                 fos2, cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_out_chart.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_05_out_chart.xml"),
                                 fos, cc);
                 artifact
                         .out(
                                 this
-                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_04_out_csv.xml"),
+                                        .readDocument("src/test/ressources/verticalprofile_instantaneouspoint/verticalprofile_step_05_out_csv.xml"),
                                 fos3, cc);
             } catch (Exception e) {
                 log.error(e, e);

http://dive4elements.wald.intevation.org