comparison gwt-client/src/test/java/test/uinfo/UinfoSalixHistoricalRunner.java @ 9428:15f274e6d83b

jUnit salix historical+supraregional
author gernotbelger
date Fri, 17 Aug 2018 17:40:59 +0200
parents
children ce0a48b93f4b
comparison
equal deleted inserted replaced
9427:3b188c34d422 9428:15f274e6d83b
1 /** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde
2 * Software engineering by
3 * Björnsen Beratende Ingenieure GmbH
4 * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt
5 *
6 * This file is Free Software under the GNU AGPL (>=v3)
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the
8 * documentation coming with Dive4Elements River for details.
9 */
10 package test.uinfo;
11
12 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException;
13 import org.dive4elements.river.client.shared.exceptions.ServerException;
14
15 import test.AbstractBerechnungsartenTester.River;
16 import test.IFilenameMapper;
17
18 /**
19 * @author Domenico Nardi Tironi
20 *
21 */
22 final class UinfoSalixHistoricalRunner extends UinfoSalixRunner {
23
24 private final double fromPart;
25 private final double toPart;
26 private final String soundingName;
27
28 public UinfoSalixHistoricalRunner(final IFilenameMapper file, final double from, final double to, final River river, final String scenarioChoice,
29 final String soundingName, final double fromPart, final double toPart) throws ConnectionException, ServerException {
30 super(file, from, to, river, scenarioChoice);
31 this.fromPart = fromPart;
32 this.toPart = toPart;
33 this.soundingName = soundingName;
34 }
35
36 @Override
37 protected void makeScenario() throws ConnectionException, ServerException {
38 super.feedSimpleTextInput("scenario_selection", this.getScenarioChoice());
39
40 super.feedSimpleTextInput("soundings", this.soundingName);
41
42 super.makeKmRange(this.fromPart, this.toPart, "ld_from_part", "ld_to_part");
43
44 }
45
46 }

http://dive4elements.wald.intevation.org