Mercurial > dive4elements > river
view gwt-client/src/test/java/test/uinfo/UinfoSalixHistoricalRunner.java @ 9570:531a60b7af95
failed tests will be saved to disk
author | gernotbelger |
---|---|
date | Mon, 05 Nov 2018 17:15:30 +0100 |
parents | 86e522bc7f36 |
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.uinfo; import java.io.File; import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; import org.dive4elements.river.client.shared.exceptions.ServerException; import test.AbstractBerechnungsartenTester.River; /** * @author Domenico Nardi Tironi * */ final class UinfoSalixHistoricalRunner extends UinfoSalixRunner { private final double fromPart; private final double toPart; private final String soundingName; public UinfoSalixHistoricalRunner(final File testFolder, final double from, final double to, final River river, final String scenarioChoice, final String soundingName, final double fromPart, final double toPart) throws ConnectionException, ServerException { super(testFolder, from, to, river, scenarioChoice); this.fromPart = fromPart; this.toPart = toPart; this.soundingName = soundingName; } @Override protected void makeScenario() throws ConnectionException, ServerException { super.feedAndGoSimpleTextInput("scenario_selection", this.getScenarioChoice()); super.feedAndGoSimpleTextInput("soundings", this.soundingName); super.makeKmRange(this.fromPart, this.toPart, "ld_from_part", "ld_to_part"); } }