comparison gwt-client/src/test/java/test/sinfo/SinfoTkhRunner.java @ 9567:86e522bc7f36

jUnit-Tests completed
author gernotbelger
date Mon, 05 Nov 2018 13:21:57 +0100
parents e567fac95e3d
children 531a60b7af95
comparison
equal deleted inserted replaced
9566:9826b465b751 9567:86e522bc7f36
19 import org.dive4elements.river.client.shared.model.StringOptionsData; 19 import org.dive4elements.river.client.shared.model.StringOptionsData;
20 20
21 import test.AbstractBerechnungsartenTester.River; 21 import test.AbstractBerechnungsartenTester.River;
22 import test.AbstractModuleRunner; 22 import test.AbstractModuleRunner;
23 import test.ICalcMode; 23 import test.ICalcMode;
24 import test.IFilenameMapper;
25 import test.WQInputHelper; 24 import test.WQInputHelper;
26 25
27 /** 26 /**
28 * @author Domenico Nardi Tironi 27 * @author Domenico Nardi Tironi
29 * 28 *
30 */ 29 */
31 final class SinfoTkhRunner extends AbstractModuleRunner { 30 final class SinfoTkhRunner extends AbstractModuleRunner {
32 31
33 private final double[] wasserspiegellage; 32 private final double[] wasserspiegellage;
34 33
35 public SinfoTkhRunner(final ICalcMode sinfoCalcFlowDepth, final IFilenameMapper file, final double from, final double to, final River river, 34 public SinfoTkhRunner(final ICalcMode sinfoCalcFlowDepth, final double from, final double to, final River river, final double[] wasserspiegellage)
36 final double[] wasserspiegellage) throws ConnectionException, ServerException { 35 throws ConnectionException, ServerException {
37 super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, file, from, to, river); 36 super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, from, to, river);
38 this.wasserspiegellage = wasserspiegellage; 37 this.wasserspiegellage = wasserspiegellage;
39 } 38 }
40 39
41 @Override 40 @Override
42 public void runTest(final boolean exportToFile) throws ServerException, IOException { 41 public void runTest() throws ServerException, IOException {
43 /* Select River */ 42 /* Select River */
44 super.selectRiver(); 43 super.selectRiver();
45 44
46 /* Select ICalcMode */ 45 /* Select ICalcMode */
47 super.selectCalcMode(); 46 super.selectCalcMode();
58 super.feedAndGo(helper.getDataforFeed(), // 57 super.feedAndGo(helper.getDataforFeed(), //
59 0);// reachable state index 58 0);// reachable state index
60 59
61 describeCollection(); 60 describeCollection();
62 61
63 super.export(exportToFile); 62 super.runTests();
64 } 63 }
65 } 64 }

http://dive4elements.wald.intevation.org