fm.last.commons.test.extensions.RootDataFolderExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lastcommons-test Show documentation
Show all versions of lastcommons-test Show documentation
Last.fm common test utilities
package fm.last.commons.test.extensions;
import java.io.File;
import org.junit.jupiter.api.extension.Extension;
import fm.last.commons.test.core.DataFolderUtils;
class RootDataFolderExtension extends BaseDataFolder implements Extension {
private File folder;
public RootDataFolderExtension() {
this(new String[] {});
}
public RootDataFolderExtension(String... children) {
folder = DataFolderUtils.buildRootDataFolder(children);
}
@Override
public File getDataFolder() {
return folder;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy