INTSAMPLES-7 tested and tagged for RC1 release
This commit is contained in:
@@ -31,9 +31,10 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
public class BinaryFileCopyTest {
|
||||
|
||||
@Test
|
||||
public void testBinaryCopy(){
|
||||
public void testBinaryCopy() throws Exception{
|
||||
ApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/fileCopyDemo-binary.xml", BinaryFileCopyTest.class);
|
||||
FileCopyDemoCommon.displayDirectories(context);
|
||||
Thread.sleep(5000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -29,9 +29,10 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
public class FileBasedFileCopyTest {
|
||||
|
||||
@Test
|
||||
public void testFileBasedCopy(){
|
||||
public void testFileBasedCopy() throws Exception{
|
||||
ApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/fileCopyDemo-file.xml", FileBasedFileCopyTest.class);
|
||||
FileCopyDemoCommon.displayDirectories(context);
|
||||
Thread.sleep(5000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -30,9 +30,10 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
||||
public class TextFileCopyTest {
|
||||
|
||||
@Test
|
||||
public void testTextBasedCopy(){
|
||||
public void testTextBasedCopy() throws Exception{
|
||||
ApplicationContext context = new ClassPathXmlApplicationContext("/META-INF/spring/integration/fileCopyDemo-text.xml", TextFileCopyTest.class);
|
||||
FileCopyDemoCommon.displayDirectories(context);
|
||||
Thread.sleep(5000);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user