diff --git a/spring-integration-sftp/.springBeans b/spring-integration-sftp/.springBeans index a4eac2981f..b406aa32ac 100644 --- a/spring-integration-sftp/.springBeans +++ b/spring-integration-sftp/.springBeans @@ -1,13 +1,13 @@ 1 - + - src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context.xml + src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context-fail-autocreate.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context-fail-autocreate.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context-fail-autocreate.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context-fail-autocreate.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context-fail.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context-fail.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context-fail.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context-fail.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests-context.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests-context.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests.java b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests.java similarity index 86% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests.java rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests.java index 62a56028be..1bfb2ef176 100644 --- a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapaterParserTests.java +++ b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/InboundChannelAdapterParserTests.java @@ -41,7 +41,7 @@ import org.springframework.integration.test.util.TestUtils; /** * @author Oleg Zhurakousky */ -public class InboundChannelAdapaterParserTests { +public class InboundChannelAdapterParserTests { @Before public void prepare(){ @@ -51,7 +51,7 @@ public class InboundChannelAdapaterParserTests { @Test public void testWithLocalFiles() throws Exception{ ApplicationContext context = - new ClassPathXmlApplicationContext("InboundChannelAdapaterParserTests-context.xml", this.getClass()); + new ClassPathXmlApplicationContext("InboundChannelAdapterParserTests-context.xml", this.getClass()); assertTrue(new File("src/main/resources").exists()); Object adapter = context.getBean("sftpAdapterAutoCreate"); @@ -71,26 +71,26 @@ public class InboundChannelAdapaterParserTests { //exactly one of 'filename-pattern' or 'filter' is allowed on SFTP inbound adapter public void testFailWithFilePatternAndFilter() throws Exception{ assertTrue(!new File("target/bar").exists()); - new ClassPathXmlApplicationContext("InboundChannelAdapaterParserTests-context-fail.xml", this.getClass()); + new ClassPathXmlApplicationContext("InboundChannelAdapterParserTests-context-fail.xml", this.getClass()); } @Test @Ignore public void testLocalFilesAreFound() throws Exception{ assertTrue(new File("target").exists()); - new ClassPathXmlApplicationContext("InboundChannelAdapaterParserTests-context.xml", this.getClass()); + new ClassPathXmlApplicationContext("InboundChannelAdapterParserTests-context.xml", this.getClass()); assertTrue(new File("target").exists()); } @Test public void testLocalDirAutoCreated() throws Exception{ assertFalse(new File("foo").exists()); - new ClassPathXmlApplicationContext("InboundChannelAdapaterParserTests-context.xml", this.getClass()); + new ClassPathXmlApplicationContext("InboundChannelAdapterParserTests-context.xml", this.getClass()); assertTrue(new File("foo").exists()); } @Test(expected=BeanCreationException.class) public void testLocalDirAutoCreateFailed() throws Exception{ - new ClassPathXmlApplicationContext("InboundChannelAdapaterParserTests-context-fail-autocreate.xml", this.getClass()); + new ClassPathXmlApplicationContext("InboundChannelAdapterParserTests-context-fail-autocreate.xml", this.getClass()); } @After diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context-fail-fileFileGen.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context-fail-fileFileGen.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context-fail-fileFileGen.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context-fail-fileFileGen.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context-fail.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context-fail.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context-fail.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context-fail.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context.xml b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context.xml similarity index 100% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests-context.xml rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests-context.xml diff --git a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests.java b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests.java similarity index 88% rename from spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests.java rename to spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests.java index dfaab7f80f..fdaabe9f9e 100644 --- a/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapaterParserTests.java +++ b/spring-integration-sftp/src/test/java/org/springframework/integration/sftp/config/OutboundChannelAdapterParserTests.java @@ -39,12 +39,12 @@ import org.springframework.integration.test.util.TestUtils; * @author Oleg Zhurakousky * */ -public class OutboundChannelAdapaterParserTests { +public class OutboundChannelAdapterParserTests { @Test - public void testOutboundChannelAdapaterWithId(){ + public void testOutboundChannelAdapterWithId(){ ApplicationContext context = - new ClassPathXmlApplicationContext("OutboundChannelAdapaterParserTests-context.xml", this.getClass()); + new ClassPathXmlApplicationContext("OutboundChannelAdapterParserTests-context.xml", this.getClass()); Object consumer = context.getBean("sftpOutboundAdapter"); assertTrue(consumer instanceof EventDrivenConsumer); assertEquals(context.getBean("inputChannel"), TestUtils.getPropertyValue(consumer, "inputChannel")); @@ -66,9 +66,9 @@ public class OutboundChannelAdapaterParserTests { } @Test - public void testOutboundChannelAdapaterWithWithRemoteDirectoryAndFileExpression(){ + public void testOutboundChannelAdapterWithWithRemoteDirectoryAndFileExpression(){ ApplicationContext context = - new ClassPathXmlApplicationContext("OutboundChannelAdapaterParserTests-context.xml", this.getClass()); + new ClassPathXmlApplicationContext("OutboundChannelAdapterParserTests-context.xml", this.getClass()); Object consumer = context.getBean("sftpOutboundAdapterWithExpression"); assertTrue(consumer instanceof EventDrivenConsumer); assertEquals(context.getBean("inputChannel"), TestUtils.getPropertyValue(consumer, "inputChannel")); @@ -87,13 +87,13 @@ public class OutboundChannelAdapaterParserTests { @Test(expected=BeanDefinitionStoreException.class) public void testFailWithRemoteDirAndExpression(){ - new ClassPathXmlApplicationContext("OutboundChannelAdapaterParserTests-context-fail.xml", this.getClass()); + new ClassPathXmlApplicationContext("OutboundChannelAdapterParserTests-context-fail.xml", this.getClass()); } @Test(expected=BeanDefinitionStoreException.class) public void testFailWithFileExpressionAndFileGenerator(){ - new ClassPathXmlApplicationContext("OutboundChannelAdapaterParserTests-context-fail-fileFileGen.xml", this.getClass()); + new ClassPathXmlApplicationContext("OutboundChannelAdapterParserTests-context-fail-fileFileGen.xml", this.getClass()); } }