/* (c) 2014 Open Source Geospatial Foundation - all rights reserved * (c) 2001 - 2013 OpenPlans * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.data.test; import java.io.File; /** * A test data directory creator and accessor, used for functional testing * purposes in GeoServer * * @author Andrea Aime - TOPP */ public interface TestData { /** * Creates the temporary GeoServer data directory */ public void setUp() throws Exception; /** * Wipes out the contents of the temporary data directory */ public void tearDown() throws Exception; /** * @return The root of the data directory. */ public File getDataDirectoryRoot(); /** * Returns wheter the test data is available. If not the test should be skipped */ public boolean isTestDataAvailable(); }