INTSAMPLES-7 tested and tagged for RC1 release

This commit is contained in:
Oleg Zhurakousky
2010-10-29 00:16:00 -04:00
parent 5d1c0933fa
commit 9f67b33db8
27 changed files with 59 additions and 57 deletions

View File

@@ -8,7 +8,7 @@
<name>Spring Integration File Copy Sample</name>
<packaging>jar</packaging>
<properties>
<spring.integration.version>2.0.0.M7</spring.integration.version>
<spring.integration.version>2.0.0.RC1</spring.integration.version>
<log4j.version>1.2.16</log4j.version>
<junit.version>4.7</junit.version>
</properties>

View File

@@ -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);
}
}

View File

@@ -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);
}
}

View File

@@ -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);
}
}