comparison gwt-client/src/test/java/test/sinfo/SinfoFloodDurationRunner.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;
32 33
33 private final double[] wasserspiegellage; 34 private final double[] wasserspiegellage;
34 private final boolean showWspl; 35 private final boolean showWspl;
35 private final RiversideChoiceKey riverside; 36 private final RiversideChoiceKey riverside;
36 37
37 public SinfoFloodDurationRunner(final ICalcMode calcmode, final double from, final double to, final River river, final double[] wasserspiegellage, 38 public SinfoFloodDurationRunner(final File testFolder, final ICalcMode calcmode, final double from, final double to, final River river,
38 final RiversideChoiceKey riverside, final boolean showWspl) throws ConnectionException, ServerException { 39 final double[] wasserspiegellage, final RiversideChoiceKey riverside, final boolean showWspl) throws ConnectionException, ServerException {
39 super(AbstractModuleRunner.Infotype.sinfo, calcmode, from, to, river); 40 super(testFolder, AbstractModuleRunner.Infotype.sinfo, calcmode, from, to, river);
40 this.wasserspiegellage = wasserspiegellage; 41 this.wasserspiegellage = wasserspiegellage;
41 this.showWspl = showWspl; 42 this.showWspl = showWspl;
42 this.riverside = riverside; 43 this.riverside = riverside;
43 } 44 }
44 45

http://dive4elements.wald.intevation.org