Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/SinfoFlowdepthMinMaxRunner.java @ 9127:dbb26bc81843
Testing
author | gernotbelger |
---|---|
date | Wed, 06 Jun 2018 13:05:57 +0200 |
parents | |
children | af73fdd96920 |
comparison
equal
deleted
inserted
replaced
9126:7235a610558a | 9127:dbb26bc81843 |
---|---|
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; | |
11 | |
12 import java.io.IOException; | |
13 | |
14 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; | |
15 import org.dive4elements.river.client.shared.exceptions.ServerException; | |
16 | |
17 import test.BerechnungsartenTester.CalcMode; | |
18 import test.BerechnungsartenTester.FilenameMapper; | |
19 import test.BerechnungsartenTester.River; | |
20 | |
21 /** | |
22 * @author Domenico Nardi Tironi | |
23 * | |
24 */ | |
25 public class SinfoFlowdepthMinMaxRunner extends ModuleRunner { | |
26 | |
27 public SinfoFlowdepthMinMaxRunner(final String username, final String password, final CalcMode sinfoCalcFlowDepthMinmax, | |
28 final FilenameMapper helloWorldFile, final double from, final double to, final River beispielfluss) throws ConnectionException, ServerException { | |
29 super(username, password, ModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, helloWorldFile, from, to, beispielfluss); | |
30 | |
31 } | |
32 | |
33 @Override | |
34 public void runTest(final boolean exportToFile) throws ServerException, IOException { | |
35 | |
36 /* Select River */ | |
37 super.selectRiver(); | |
38 | |
39 /* Select calcmode */ | |
40 super.selectCalcMode(); | |
41 | |
42 /* Select Range */ | |
43 super.selectRange(); | |
44 | |
45 /* Select Fixpunkte */ | |
46 feedAndGo(super.getPairData(), 0); | |
47 | |
48 // Describe collection | |
49 describeCollection(); // wichtig, damit die Facets erzeugt werden | |
50 | |
51 // /* Export calculation */ | |
52 super.export(exportToFile); | |
53 } | |
54 } |