Mercurial > dive4elements > river
diff gwt-client/src/test/java/test/TestMain.java @ 9031:efd2de78d158
work on unit testing
author | gernotbelger |
---|---|
date | Fri, 27 Apr 2018 11:34:04 +0200 |
parents | |
children | 2ffb55a53e8d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gwt-client/src/test/java/test/TestMain.java Fri Apr 27 11:34:04 2018 +0200 @@ -0,0 +1,41 @@ +package test; + +/* + * Copyright (c) 2010 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ + +import java.io.IOException; + +import org.dive4elements.river.client.shared.exceptions.ServerException; +import org.junit.Test; + +/** + * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> + */ +public class TestMain { + + @Test + public void testSInfoFlowDepthMinMax() throws ServerException, IOException { + // TODO Auto-generated method stub + + /* + * S-Info-calcModes: + * sinfo_calc_flow_depth + * sinfo_calc_flow_depth_development + * sinfo_calc_flow_depth_minmax + * sinfo_calc_grounding + * Transportkörperhöhen + * sinfo_calc_infrastructures_inundation_duration + */ + + final SinfoTest proof = new SinfoTest("belger", "belger", "sinfo", "sinfo_calc_flow_depth_minmax"); + proof.addRecommendationPair(new String[] { "staticwqkms", "additionals-wstv-0-103", "sinfo_flowdepth_waterlevels" }, + new String[] { "bedheight", "bedheight-single-36-2015-FP-2015_0-502", "sinfo_flowdepthminmax_heights" }); + proof.runTest(true); + } + +}