Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/uinfo/UinfoSalixSupraregionalRunner.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 java.util.List; | |
13 | |
14 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; | |
15 import org.dive4elements.river.client.shared.exceptions.ServerException; | |
16 import org.dive4elements.river.client.shared.model.SalixZone; | |
17 | |
18 import test.AbstractBerechnungsartenTester.River; | |
19 import test.IFilenameMapper; | |
20 | |
21 /** | |
22 * @author Domenico Nardi Tironi | |
23 * | |
24 */ | |
25 final class UinfoSalixSupraregionalRunner extends UinfoSalixRunner { | |
26 | |
27 private final List<SalixZone> supraregionalTable; | |
28 | |
29 public UinfoSalixSupraregionalRunner(final IFilenameMapper file, final double from, final double to, final River river, final String scenarioChoice, | |
30 final List<SalixZone> supraRegionalTable) throws ConnectionException, ServerException { | |
31 super(file, from, to, river, scenarioChoice); | |
32 this.supraregionalTable = supraRegionalTable; | |
33 } | |
34 | |
35 @Override | |
36 protected void makeScenario() throws ConnectionException, ServerException { | |
37 super.feedSimpleTextInput("scenario_selection", this.getScenarioChoice()); | |
38 | |
39 super.feedSimpleTextInput("supraregional_table", SalixZone.parseListToDataString(this.supraregionalTable)); | |
40 | |
41 } | |
42 | |
43 } |