Mercurial > dive4elements > river
view gwt-client/src/test/java/test/uinfo/UinfoSalixRegionalRunner.java @ 9439:ce0a48b93f4b
bundu jUnit test first attempt
author | gernotbelger |
---|---|
date | Mon, 20 Aug 2018 16:57:25 +0200 |
parents | da19f1f58d72 |
children | e991c4cec0d0 |
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 org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; import org.dive4elements.river.client.shared.exceptions.ServerException; import test.AbstractBerechnungsartenTester.River; import test.IFilenameMapper; /** * @author Domenico Nardi Tironi * */ final class UinfoSalixRegionalRunner extends UinfoSalixRunner { private final double fromPart; private final double toPart; private final String dwspl; public UinfoSalixRegionalRunner(final IFilenameMapper file, final double from, final double to, final River river, final String scenarioChoice, final double fromPart, final double toPart, final String dwspl) throws ConnectionException, ServerException { super(file, from, to, river, scenarioChoice); this.fromPart = fromPart; this.toPart = toPart; this.dwspl = dwspl; } @Override protected void makeScenario() throws ConnectionException, ServerException { super.feedAndGoSimpleTextInput("scenario_selection", this.getScenarioChoice()); super.makeKmRange(this.fromPart, this.toPart, "ld_from_part", "ld_to_part"); super.feedAndGoSimpleTextInput("sedimentheight", this.dwspl); } }