Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/uinfo/UinfoSalixRunner.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.uinfo; | 10 package test.uinfo; |
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; |
28 */ | 29 */ |
29 class UinfoSalixRunner extends AbstractModuleRunner { | 30 class UinfoSalixRunner extends AbstractModuleRunner { |
30 private final String scenarioChoice; | 31 private final String scenarioChoice; |
31 private boolean isUseScenario; | 32 private boolean isUseScenario; |
32 | 33 |
33 public UinfoSalixRunner(final double from, final double to, final River river, final String scenarioChoice) throws ConnectionException, ServerException { | 34 public UinfoSalixRunner(final File testFolder, final double from, final double to, final River river, final String scenarioChoice) |
34 super(AbstractModuleRunner.Infotype.uinfo, CalcMode.uinfo_salix_line, from, to, river); | 35 throws ConnectionException, ServerException { |
36 super(testFolder, AbstractModuleRunner.Infotype.uinfo, CalcMode.uinfo_salix_line, from, to, river); | |
35 this.scenarioChoice = scenarioChoice; | 37 this.scenarioChoice = scenarioChoice; |
36 this.isUseScenario = (scenarioChoice != null) ? (this.isUseScenario = true) : (this.isUseScenario = false); | 38 this.isUseScenario = (scenarioChoice != null) ? (this.isUseScenario = true) : (this.isUseScenario = false); |
37 } | 39 } |
38 | 40 |
39 @Override | 41 @Override |