view gwt-client/src/test/java/test/FilenameSupplier.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 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;

import java.io.File;

/**
 * @author Domenico Nardi Tironi
 *
 */
public class FilenameSupplier {

    private final String filename;

    public FilenameSupplier(final String filename) {
        this.filename = filename;
    }

    public final String getFilename() {
        return this.filename.replace("//", File.separator);
    }

}

http://dive4elements.wald.intevation.org