comparison gwt-client/src/test/java/test/RunnerCreatorHelper.java @ 9133:af73fdd96920

Title current/historical diff pair; limit on entries in diff'pair twin_panel
author gernotbelger
date Thu, 07 Jun 2018 11:41:10 +0200
parents dbb26bc81843
children 48d87af1243e
comparison
equal deleted inserted replaced
9132:8cc192731c7d 9133:af73fdd96920
18 18
19 /** 19 /**
20 * @author Domenico Nardi Tironi 20 * @author Domenico Nardi Tironi
21 * 21 *
22 */ 22 */
23 public class RunnerCreatorHelper { 23 public final class RunnerCreatorHelper {
24 24
25 private final static String user = "belger"; 25 private final static String user = "belger";
26
26 private final static String pw = "belger"; 27 private final static String pw = "belger";
27 28
28 public RunnerCreatorHelper() { 29 private RunnerCreatorHelper() {
29 30 throw new UnsupportedOperationException();
30 } 31 }
31 32
32 // HELPER-Methods: 33 // HELPER-Methods:
33 34
34 public final static ModuleRunner createSinfoFlowdepthMinMaxTest(final FilenameMapper helloWorldFile, final double from, final double to, 35 public final static ModuleRunner createSinfoFlowdepthMinMaxTest(final FilenameMapper helloWorldFile, final double from, final double to,
41 return proof; 42 return proof;
42 } 43 }
43 44
44 public final static ModuleRunner createSinfoFlowdepthTest(final FilenameMapper file, final double from, final double to, final River river, 45 public final static ModuleRunner createSinfoFlowdepthTest(final FilenameMapper file, final double from, final double to, final River river,
45 final boolean useTkh, final SimpleRecommendation rec0, final SimpleRecommendation rec1) throws ConnectionException, ServerException { 46 final boolean useTkh, final SimpleRecommendation rec0, final SimpleRecommendation rec1) throws ConnectionException, ServerException {
46 final ModuleRunner proof = new SinfoFlowdepthTest(user, pw, CalcMode.sinfo_calc_flow_depth, file, from, to, river, useTkh); 47 final ModuleRunner proof = new SinfoFlowdepthRunner(user, pw, CalcMode.sinfo_calc_flow_depth, file, from, to, river, useTkh);
47 proof.addRecommendationPair(rec0, rec1); 48 proof.addRecommendationPair(rec0, rec1);
48 49
49 return proof; 50 return proof;
50 } 51 }
51
52 } 52 }

http://dive4elements.wald.intevation.org