// Path: src/test/java/ch/picard/ppimapbuilder/TestUtils.java
// public class TestUtils {
// 
// 	private static final boolean deleteAtShutDown = false;
// 	private static final File baseTestOutputFolder = new File("test-output");
// 
// 	public static File createTestOutputFolder(String preffix) {
// 		final File testFolderOutput = getTestOutputFolder(preffix + "-output-" + System.currentTimeMillis());
// 		testFolderOutput.mkdir();
// 
// 		if(deleteAtShutDown) {
// 			Runtime.getRuntime().addShutdownHook(new Thread(){
// 				@Override
// 				public void run() {
// 					FileUtil.recursiveDelete(testFolderOutput);
// 				}
// 			});
// 		}
// 
// 		return testFolderOutput;
// 	}
// 
// 	public static File getBaseTestOutputFolder() {
// 		return baseTestOutputFolder;
// 	}
// 
// 	public static File getTestOutputFolder(String folderName) {
// 		return new File(baseTestOutputFolder, folderName);
// 	}
// }


import org.junit.Test;
import java.io.File;
import ch.picard.ppimapbuilder.TestUtils;
import junit.framework.TestCase;
/*
 * This file is part of PPiMapBuilder.
 *
 * PPiMapBuilder is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * PPiMapBuilder is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with PPiMapBuilder.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Copyright 2015 Echeverria P.C., Dupuis P., Cornut G., Gravouil K., Kieffer A., Picard D.
 *
 */

package ch.picard.ppimapbuilder.util.io;



public class FileUtilTest extends TestCase {

	@Test
	public void testGetHumanReadableFileSize() throws Exception {
// Path: src/test/java/ch/picard/ppimapbuilder/TestUtils.java
// public class TestUtils {
// 
// 	private static final boolean deleteAtShutDown = false;
// 	private static final File baseTestOutputFolder = new File("test-output");
// 
// 	public static File createTestOutputFolder(String preffix) {
// 		final File testFolderOutput = getTestOutputFolder(preffix + "-output-" + System.currentTimeMillis());
// 		testFolderOutput.mkdir();
// 
// 		if(deleteAtShutDown) {
// 			Runtime.getRuntime().addShutdownHook(new Thread(){
// 				@Override
// 				public void run() {
// 					FileUtil.recursiveDelete(testFolderOutput);
// 				}
// 			});
// 		}
// 
// 		return testFolderOutput;
// 	}
// 
// 	public static File getBaseTestOutputFolder() {
// 		return baseTestOutputFolder;
// 	}
// 
// 	public static File getTestOutputFolder(String folderName) {
// 		return new File(baseTestOutputFolder, folderName);
// 	}
// }


// Path: src/test/java/ch/picard/ppimapbuilder/util/io/FileUtilTest.java
import org.junit.Test;
import java.io.File;
import ch.picard.ppimapbuilder.TestUtils;
import junit.framework.TestCase;

/*
 * This file is part of PPiMapBuilder.
 *
 * PPiMapBuilder is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * PPiMapBuilder is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with PPiMapBuilder.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Copyright 2015 Echeverria P.C., Dupuis P., Cornut G., Gravouil K., Kieffer A., Picard D.
 *
 */

package ch.picard.ppimapbuilder.util.io;



public class FileUtilTest extends TestCase {

	@Test
	public void testGetHumanReadableFileSize() throws Exception {
		File folder = TestUtils.getBaseTestOutputFolder();