diff gwt-client/src/test/java/test/sinfo/SinfoFlowdepthMinMaxRunner.java @ 9567:86e522bc7f36

jUnit-Tests completed
author gernotbelger
date Mon, 05 Nov 2018 13:21:57 +0100
parents e567fac95e3d
children 531a60b7af95
line wrap: on
line diff
--- a/gwt-client/src/test/java/test/sinfo/SinfoFlowdepthMinMaxRunner.java	Mon Nov 05 10:19:12 2018 +0100
+++ b/gwt-client/src/test/java/test/sinfo/SinfoFlowdepthMinMaxRunner.java	Mon Nov 05 13:21:57 2018 +0100
@@ -19,7 +19,6 @@
 import test.AbstractBerechnungsartenTester.River;
 import test.AbstractModuleRunner;
 import test.ICalcMode;
-import test.IFilenameMapper;
 import test.SimpleRecommendation;
 
 /**
@@ -30,9 +29,9 @@
 
     private final List<String> pairIds = new ArrayList<String>();
 
-    public SinfoFlowdepthMinMaxRunner(final ICalcMode sinfoCalcFlowDepthMinmax, final IFilenameMapper helloWorldFile, final double from, final double to,
-            final River beispielfluss) throws ConnectionException, ServerException {
-        super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, helloWorldFile, from, to, beispielfluss);
+    public SinfoFlowdepthMinMaxRunner(final ICalcMode sinfoCalcFlowDepthMinmax, final double from, final double to, final River beispielfluss)
+            throws ConnectionException, ServerException {
+        super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, from, to, beispielfluss);
     }
 
     public void addRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException {
@@ -40,7 +39,7 @@
     }
 
     @Override
-    public void runTest(final boolean exportToFile) throws ServerException, IOException {
+    public void runTest() throws ServerException, IOException {
 
         /* Select River */
         super.selectRiver();
@@ -58,6 +57,6 @@
         describeCollection(); // wichtig, damit die Facets erzeugt werden
 
         // /* Export calculation */
-        super.export(exportToFile);
+        super.runTests();
     }
 }

http://dive4elements.wald.intevation.org