diff gwt-client/src/test/java/test/RunnerCreatorHelper.java @ 9418:9fe26f525ae3

sinfo floodduration jUnit test
author gernotbelger
date Thu, 16 Aug 2018 18:15:54 +0200
parents 46e3e23cca0b
children
line wrap: on
line diff
--- a/gwt-client/src/test/java/test/RunnerCreatorHelper.java	Thu Aug 16 17:32:05 2018 +0200
+++ b/gwt-client/src/test/java/test/RunnerCreatorHelper.java	Thu Aug 16 18:15:54 2018 +0200
@@ -15,6 +15,7 @@
 import test.BerechnungsartenTester.CalcMode;
 import test.BerechnungsartenTester.FilenameMapper;
 import test.BerechnungsartenTester.River;
+import test.SinfoFloodDurationRiversideChoice.RiversideChoiceKey;
 
 /**
  * @author Domenico Nardi Tironi
@@ -89,4 +90,12 @@
 
         return proof;
     }
+
+    public final static AbstractModuleRunner createSinfoFloodDurationTest(final FilenameMapper file, final double from, final double to, final River river,
+            final double[] wasserspiegellage, final boolean showWspl, final RiversideChoiceKey riverside) throws ConnectionException, ServerException {
+        final SinfoFloodDurationRunner proof = new SinfoFloodDurationRunner(user, pw, CalcMode.sinfo_calc_flood_duration, file, from, to, river,
+                wasserspiegellage, riverside, showWspl);
+
+        return proof;
+    }
 }
\ No newline at end of file

http://dive4elements.wald.intevation.org