Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/sinfo/SinfoFlowdepthMinMaxRunner.java @ 9570:531a60b7af95
failed tests will be saved to disk
author | gernotbelger |
---|---|
date | Mon, 05 Nov 2018 17:15:30 +0100 |
parents | 86e522bc7f36 |
children |
comparison
equal
deleted
inserted
replaced
9569:9f83ebf67c92 | 9570:531a60b7af95 |
---|---|
7 * and comes with ABSOLUTELY NO WARRANTY! Check out the | 7 * and comes with ABSOLUTELY NO WARRANTY! Check out the |
8 * documentation coming with Dive4Elements River for details. | 8 * documentation coming with Dive4Elements River for details. |
9 */ | 9 */ |
10 package test.sinfo; | 10 package test.sinfo; |
11 | 11 |
12 import java.io.File; | |
12 import java.io.IOException; | 13 import java.io.IOException; |
13 import java.util.ArrayList; | 14 import java.util.ArrayList; |
14 import java.util.List; | 15 import java.util.List; |
15 | 16 |
16 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; | 17 import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; |
27 */ | 28 */ |
28 final class SinfoFlowdepthMinMaxRunner extends AbstractModuleRunner { | 29 final class SinfoFlowdepthMinMaxRunner extends AbstractModuleRunner { |
29 | 30 |
30 private final List<String> pairIds = new ArrayList<String>(); | 31 private final List<String> pairIds = new ArrayList<String>(); |
31 | 32 |
32 public SinfoFlowdepthMinMaxRunner(final ICalcMode sinfoCalcFlowDepthMinmax, final double from, final double to, final River beispielfluss) | 33 public SinfoFlowdepthMinMaxRunner(final File testFolder, final ICalcMode sinfoCalcFlowDepthMinmax, final double from, final double to, |
33 throws ConnectionException, ServerException { | 34 final River beispielfluss) throws ConnectionException, ServerException { |
34 super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, from, to, beispielfluss); | 35 super(testFolder, AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, from, to, beispielfluss); |
35 } | 36 } |
36 | 37 |
37 public void addRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException { | 38 public void addRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException { |
38 this.pairIds.add(super.getRecommendationPairString(rec1, rec2)); | 39 this.pairIds.add(super.getRecommendationPairString(rec1, rec2)); |
39 } | 40 } |