agave-systems/systems-core/src/test/java/org/iplantc/service/transfer/RemoteDataClientPermissionProviderTest.java
/**
	 * Deletes the temp folder used for these test cases.
	 * 
	 * @throws Exception
	 */
Deletes the temp folder used for these test cases.

@throws Exception
Deletes the temp folder used for these test cases . @throws Exception
@AfterClass
	protected void afterClass() throws Exception 
    {
    	try 
    	{
    		storageConfig.setRootDir(FilenameUtils.getPath(storageConfig.getRootDir()));
    		getClient().authenticate();
    		getClient().delete("");
    	} catch (Exception e) {
    		log.error("Failed to clean up and delete home directory after tests. Future tests may fail.", e);
    	} 
    	finally {
    		FileUtils.deleteDirectory(getLocalDownloadDir());
    		try { getClient().disconnect(); } catch (Exception ignored) {}
    	}
    }
@ AfterClass protected void afterClass ( ) throws Exception { try { storageConfig . setRootDir ( FilenameUtils . getPath ( storageConfig . getRootDir ( ) ) ) ; getClient ( ) . authenticate ( ) ; getClient ( ) . delete ( "" ) ; } catch ( Exception e ) { log . error ( "Failed to clean up and delete home directory after tests. Future tests may fail." , e ) ; } finally { FileUtils . deleteDirectory ( getLocalDownloadDir ( ) ) ; try { getClient ( ) . disconnect ( ) ; } catch ( Exception ignored ) { } } }
Deletes the temp folder used for these test cases.
Deletes the temp folder used for these test cases .
// reset root dir and delete tmp directory.