Mercurial > dive4elements > river
view gwt-client/src/test/java/test/sinfo/SinfoFlowdepthMinMaxRunner.java @ 9709:b74f817435fe
comment removed
author | dnt_bjoernsen <d.tironi@bjoernsen.de> |
---|---|
date | Wed, 27 Jan 2021 11:47:38 +0100 |
parents | 531a60b7af95 |
children |
line wrap: on
line source
/** Copyright (C) 2017 by Bundesanstalt für Gewässerkunde * Software engineering by * Björnsen Beratende Ingenieure GmbH * Dr. Schumacher Ingenieurbüro für Wasser und Umwelt * * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the * documentation coming with Dive4Elements River for details. */ package test.sinfo; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; import org.dive4elements.river.client.shared.exceptions.ServerException; import test.AbstractBerechnungsartenTester.River; import test.AbstractModuleRunner; import test.ICalcMode; import test.SimpleRecommendation; /** * @author Domenico Nardi Tironi * */ final class SinfoFlowdepthMinMaxRunner extends AbstractModuleRunner { private final List<String> pairIds = new ArrayList<String>(); public SinfoFlowdepthMinMaxRunner(final File testFolder, final ICalcMode sinfoCalcFlowDepthMinmax, final double from, final double to, final River beispielfluss) throws ConnectionException, ServerException { super(testFolder, AbstractModuleRunner.Infotype.sinfo, sinfoCalcFlowDepthMinmax, from, to, beispielfluss); } public void addRecommendationPair(final SimpleRecommendation rec1, final SimpleRecommendation rec2) throws ConnectionException, ServerException { this.pairIds.add(super.getRecommendationPairString(rec1, rec2)); } @Override public void runTest() throws ServerException, IOException { /* Select River */ super.selectRiver(); /* Select calcmode */ super.selectCalcMode(); /* Select Range */ super.selectRange(); /* Select Fixpunkte */ feedAndGo(extractPairData(this.pairIds, "diffids"), 0); // Describe collection describeCollection(); // wichtig, damit die Facets erzeugt werden // /* Export calculation */ super.runTests(); } }