Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/RunnerCreatorHelper.java @ 9418:9fe26f525ae3
sinfo floodduration jUnit test
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 18:15:54 +0200 |
parents | 46e3e23cca0b |
children |
comparison
equal
deleted
inserted
replaced
9417:46e3e23cca0b | 9418:9fe26f525ae3 |
---|---|
13 import org.dive4elements.river.client.shared.exceptions.ServerException; | 13 import org.dive4elements.river.client.shared.exceptions.ServerException; |
14 | 14 |
15 import test.BerechnungsartenTester.CalcMode; | 15 import test.BerechnungsartenTester.CalcMode; |
16 import test.BerechnungsartenTester.FilenameMapper; | 16 import test.BerechnungsartenTester.FilenameMapper; |
17 import test.BerechnungsartenTester.River; | 17 import test.BerechnungsartenTester.River; |
18 import test.SinfoFloodDurationRiversideChoice.RiversideChoiceKey; | |
18 | 19 |
19 /** | 20 /** |
20 * @author Domenico Nardi Tironi | 21 * @author Domenico Nardi Tironi |
21 * | 22 * |
22 */ | 23 */ |
87 final String epochs) throws ConnectionException, ServerException { | 88 final String epochs) throws ConnectionException, ServerException { |
88 final SinfoCollisionRunner proof = new SinfoCollisionRunner(user, pw, file, from, to, river, null, epochs); | 89 final SinfoCollisionRunner proof = new SinfoCollisionRunner(user, pw, file, from, to, river, null, epochs); |
89 | 90 |
90 return proof; | 91 return proof; |
91 } | 92 } |
93 | |
94 public final static AbstractModuleRunner createSinfoFloodDurationTest(final FilenameMapper file, final double from, final double to, final River river, | |
95 final double[] wasserspiegellage, final boolean showWspl, final RiversideChoiceKey riverside) throws ConnectionException, ServerException { | |
96 final SinfoFloodDurationRunner proof = new SinfoFloodDurationRunner(user, pw, CalcMode.sinfo_calc_flood_duration, file, from, to, river, | |
97 wasserspiegellage, riverside, showWspl); | |
98 | |
99 return proof; | |
100 } | |
92 } | 101 } |