diff gwt-client/src/test/java/test/uinfo/UInfoBerechnungsartenTester.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 diff
--- a/gwt-client/src/test/java/test/uinfo/UInfoBerechnungsartenTester.java	Mon Nov 05 13:51:47 2018 +0100
+++ b/gwt-client/src/test/java/test/uinfo/UInfoBerechnungsartenTester.java	Mon Nov 05 17:15:30 2018 +0100
@@ -6,14 +6,12 @@
 
 import org.dive4elements.river.client.shared.exceptions.ServerException;
 import org.dive4elements.river.client.shared.model.SalixZone;
-import org.junit.Ignore;
 import org.junit.Test;
 
 import test.AbstractBerechnungsartenTester;
 import test.FilenameSupplier;
 import test.ICalcMode;
 
-@Ignore
 public class UInfoBerechnungsartenTester extends AbstractBerechnungsartenTester {
 
     private final String UINFO_SALIX_MAIN_EXPORT_MODE_NAME = "uinfo_salix_line_export";
@@ -46,7 +44,7 @@
 
     @Test
     public void test01() throws ServerException, IOException {
-        new UinfoSalixRunner(336.2, 866.3, River.Rhein, null) //
+        new UinfoSalixRunner(super.testFolder, 336.2, 866.3, River.Rhein, null) //
                 .addOutputTest(this.SALIX_01, this.UINFO_SALIX_MAIN_EXPORT_MODE_NAME, null) //
                 .runTest();
         // this.SALIX_NO_SCENARIO
@@ -54,7 +52,7 @@
 
     @Test
     public void test02() throws ServerException, IOException {
-        new UinfoSalixRegionalRunner(336.2, 866.3, River.Rhein, "scenarioType.option1", 336.2, 866.3, "-50 50")//
+        new UinfoSalixRegionalRunner(super.testFolder, 336.2, 866.3, River.Rhein, "scenarioType.option1", 336.2, 866.3, "-50 50")//
                 .addOutputTest(this.SALIX_02, this.UINFO_SALIX_MAIN_EXPORT_MODE_NAME, null) //
                 .addOutputTest(this.SALIX_02_CHART, this.UINFO_SALIX_LAENGS_CHART_NAME, null) //
                 .runTest();
@@ -70,7 +68,7 @@
         zones.add(SalixZone.createFromTableEntry("30", "300", "450"));
         zones.add(SalixZone.createFromTableEntry("0", "450", "550"));
 
-        new UinfoSalixSupraregionalRunner(0., 550.0, River.Elbe, "scenarioType.option2", zones)
+        new UinfoSalixSupraregionalRunner(super.testFolder, 0., 550.0, River.Elbe, "scenarioType.option2", zones)
                 .addOutputTest(this.SALIX_03, this.UINFO_SALIX_MAIN_EXPORT_MODE_NAME, null) //
                 .addOutputTest(this.SALIX_03_CHART, this.UINFO_SALIX_LAENGS_CHART_NAME, null) //
                 .runTest();
@@ -80,7 +78,7 @@
     @Test
     public void test04() throws ServerException, IOException {
         // name of sounding can be found in ParameterMatrixPanel.getData
-        new UinfoSalixHistoricalRunner(0., 598.3, River.Elbe, "scenarioType.option3", "single-68", 0.1, 585.3)
+        new UinfoSalixHistoricalRunner(super.testFolder, 0., 598.3, River.Elbe, "scenarioType.option3", "single-68", 0.1, 585.3)
                 .addOutputTest(this.SALIX_04, this.UINFO_SALIX_MAIN_EXPORT_MODE_NAME, null) //
                 .runTest();
         // this.SALIX_HISTORICAL_SCENARIO,

http://dive4elements.wald.intevation.org