Mercurial > dive4elements > river
diff gwt-client/src/test/java/test/sinfo/SinfoCollisionRunner.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/sinfo/SinfoCollisionRunner.java Mon Nov 05 13:51:47 2018 +0100 +++ b/gwt-client/src/test/java/test/sinfo/SinfoCollisionRunner.java Mon Nov 05 17:15:30 2018 +0100 @@ -9,6 +9,7 @@ */ package test.sinfo; +import java.io.File; import java.io.IOException; import org.dive4elements.artifacts.httpclient.exceptions.ConnectionException; @@ -32,9 +33,9 @@ private final String epochs; private boolean isYears; // cannot be final because of the ternary expression - public SinfoCollisionRunner(final double from, final double to, final River river, final int[] years, final String epochs) + public SinfoCollisionRunner(final File testFolder, final double from, final double to, final River river, final int[] years, final String epochs) throws ConnectionException, ServerException { - super(AbstractModuleRunner.Infotype.sinfo, CalcMode.sinfo_calc_collision, from, to, river); + super(testFolder, AbstractModuleRunner.Infotype.sinfo, CalcMode.sinfo_calc_collision, from, to, river); this.years = years; this.epochs = epochs; this.isYears = (years != null) ? (this.isYears = true) : (this.isYears = false);