Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
9030:4dc047fb3633 | 9031:efd2de78d158 |
---|---|
1 package test; | |
2 | |
3 /* | |
4 * Copyright (c) 2010 by Intevation GmbH | |
5 * | |
6 * This program is free software under the LGPL (>=v2.1) | |
7 * Read the file LGPL.txt coming with the software for details | |
8 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
9 */ | |
10 | |
11 import java.io.IOException; | |
12 | |
13 import org.dive4elements.river.client.shared.exceptions.ServerException; | |
14 import org.junit.Test; | |
15 | |
16 /** | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
19 public class TestMain { | |
20 | |
21 @Test | |
22 public void testSInfoFlowDepthMinMax() throws ServerException, IOException { | |
23 // TODO Auto-generated method stub | |
24 | |
25 /* | |
26 * S-Info-calcModes: | |
27 * sinfo_calc_flow_depth | |
28 * sinfo_calc_flow_depth_development | |
29 * sinfo_calc_flow_depth_minmax | |
30 * sinfo_calc_grounding | |
31 * Transportkörperhöhen | |
32 * sinfo_calc_infrastructures_inundation_duration | |
33 */ | |
34 | |
35 final SinfoTest proof = new SinfoTest("belger", "belger", "sinfo", "sinfo_calc_flow_depth_minmax"); | |
36 proof.addRecommendationPair(new String[] { "staticwqkms", "additionals-wstv-0-103", "sinfo_flowdepth_waterlevels" }, | |
37 new String[] { "bedheight", "bedheight-single-36-2015-FP-2015_0-502", "sinfo_flowdepthminmax_heights" }); | |
38 proof.runTest(true); | |
39 } | |
40 | |
41 } |