diff gwt-client/src/test/java/test/sinfo/SinfoCollisionRunner.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/SinfoCollisionRunner.java	Mon Nov 05 10:19:12 2018 +0100
+++ b/gwt-client/src/test/java/test/sinfo/SinfoCollisionRunner.java	Mon Nov 05 13:21:57 2018 +0100
@@ -20,7 +20,6 @@
 
 import test.AbstractBerechnungsartenTester.River;
 import test.AbstractModuleRunner;
-import test.IFilenameMapper;
 import test.sinfo.SinfoBerechnungsartenTester.CalcMode;
 
 /**
@@ -33,16 +32,16 @@
     private final String epochs;
     private boolean isYears; // cannot be final because of the ternary expression
 
-    public SinfoCollisionRunner(final IFilenameMapper file, final double from, final double to, final River river, final int[] years, final String epochs)
+    public SinfoCollisionRunner(final double from, final double to, final River river, final int[] years, final String epochs)
             throws ConnectionException, ServerException {
-        super(AbstractModuleRunner.Infotype.sinfo, CalcMode.sinfo_calc_collision, file, from, to, river);
+        super(AbstractModuleRunner.Infotype.sinfo, CalcMode.sinfo_calc_collision, from, to, river);
         this.years = years;
         this.epochs = epochs;
         this.isYears = (years != null) ? (this.isYears = true) : (this.isYears = false);
     }
 
     @Override
-    public void runTest(final boolean exportToFile) throws ServerException, IOException {
+    public void runTest() throws ServerException, IOException {
         /* Select River */
         super.selectRiver();
 
@@ -75,6 +74,6 @@
         }
         describeCollection();
 
-        super.export(exportToFile);
+        super.runTests();
     }
 }

http://dive4elements.wald.intevation.org