Mercurial > dive4elements > river
comparison gwt-client/src/test/java/test/sinfo/SinfoFlowdepthDevelopmentRunner.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; |
28 final class SinfoFlowdepthDevelopmentRunner extends AbstractModuleRunner { | 29 final class SinfoFlowdepthDevelopmentRunner extends AbstractModuleRunner { |
29 | 30 |
30 private final List<String> pairIdsCurrent = new ArrayList<String>(); | 31 private final List<String> pairIdsCurrent = new ArrayList<String>(); |
31 private final List<String> pairIdsHistorical = new ArrayList<String>(); | 32 private final List<String> pairIdsHistorical = new ArrayList<String>(); |
32 | 33 |
33 public SinfoFlowdepthDevelopmentRunner(final ICalcMode sinfoCalcFlowDepth, final double from, final double to, final River river) | 34 public SinfoFlowdepthDevelopmentRunner(final File testFolder, final ICalcMode sinfoCalcFlowDepth, final double from, final double to, final River river) |
34 throws ConnectionException, ServerException { | 35 throws ConnectionException, ServerException { |
35 super(AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, from, to, river); | 36 super(testFolder, AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepth, from, to, river); |
36 | 37 |
37 } | 38 } |
38 | 39 |
39 public void addCurrentRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException { | 40 public void addCurrentRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException { |
40 this.pairIdsCurrent.add(super.getRecommendationPairString(rec1, rec2)); | 41 this.pairIdsCurrent.add(super.getRecommendationPairString(rec1, rec2)); |