Merge pull request #59 from garyrussell/INTSAMPLES-82
* garyrussell-INTSAMPLES-82: INTSAMPLES-82 Fix Exception
This commit is contained in:
@@ -18,10 +18,7 @@ package org.springframework.integration.samples.ftp;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
|
||||
import java.io.File;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.junit.After;
|
||||
import org.junit.Test;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
@@ -59,8 +56,4 @@ public class FtpInboundChannelAdapterSample {
|
||||
|
||||
}
|
||||
|
||||
@After
|
||||
public void cleanup() {
|
||||
FileUtils.deleteQuietly(new File(TestSuite.LOCAL_FTP_TEMP_DIR));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,8 +21,6 @@ import static org.junit.Assert.assertTrue;
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.commons.io.FileUtils;
|
||||
import org.junit.After;
|
||||
import org.junit.Test;
|
||||
import org.springframework.context.ConfigurableApplicationContext;
|
||||
import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
@@ -70,9 +68,4 @@ public class FtpOutboundGatewaySample {
|
||||
|
||||
}
|
||||
|
||||
@After
|
||||
public void cleanup() {
|
||||
FileUtils.deleteQuietly(new File(TestSuite.LOCAL_FTP_TEMP_DIR));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -82,6 +82,7 @@ public class TestSuite {
|
||||
public static void shutDown() {
|
||||
server.stop();
|
||||
FileUtils.deleteQuietly(new File(FTP_ROOT_DIR));
|
||||
FileUtils.deleteQuietly(new File(LOCAL_FTP_TEMP_DIR));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user