Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/sinfo/SinfoTkhRunner.java @ 9570:531a60b7af95
failed tests will be saved to disk
author | gernotbelger |
---|---|
date | Mon, 05 Nov 2018 17:15:30 +0100 |
parents | 86e522bc7f36 |
children |
comparison
equal
deleted
inserted
replaced
9569:9f83ebf67c92 | 9570:531a60b7af95 |
---|---|
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | 7 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
8 * documentation coming with Dive4Elements River for details. | 8 * documentation coming with Dive4Elements River for details. |
9 */ | 9 */ |
10 package test.sinfo; | 10 package test.sinfo; |
11 | 11 |
12 import java.io.File; | |
12 import java.io.IOException; | 13 import java.io.IOException; |
13 | 14 |
14 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; | 15 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
15 import org.dive4elements.river.client.shared.exceptions.ServerException; | 16 import org.dive4elements.river.client.shared.exceptions.ServerException; |
16 import org.dive4elements.river.client.shared.model.Data; | 17 import org.dive4elements.river.client.shared.model.Data; |
29 */ | 30 */ |
30 final class SinfoTkhRunner extends AbstractModuleRunner { | 31 final class SinfoTkhRunner extends AbstractModuleRunner { |
31 | 32 |
32 private final double[] wasserspiegellage; | 33 private final double[] wasserspiegellage; |
33 | 34 |
34 public SinfoTkhRunner(final ICalcMode sinfoCalcFlowDepth, final double from, final double to, final River river, final double[] wasserspiegellage) | 35 public SinfoTkhRunner(final File testFolder, final ICalcMode sinfoCalcFlowDepth, final double from, final double to, final River river, |
35 throws ConnectionException, ServerException { | 36 final double[] wasserspiegellage) throws ConnectionException, ServerException { |
36 super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, from, to, river); | 37 super(testFolder, AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, from, to, river); |
37 this.wasserspiegellage = wasserspiegellage; | 38 this.wasserspiegellage = wasserspiegellage; |
38 } | 39 } |
39 | 40 |
40 @Override | 41 @Override |
41 public void runTest() throws ServerException, IOException { | 42 public void runTest() throws ServerException, IOException { |