This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new b05b8b5 camel-ftp - Fixed tests as the data are in src/test/data b05b8b5 is described below commit b05b8b54d10c2c1fe90c96cad2f39f1c9ecfc66a Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Sep 3 07:01:37 2021 +0200 camel-ftp - Fixed tests as the data are in src/test/data --- .../file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java | 2 +- .../remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java | 2 +- .../file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java | 2 +- .../remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java | 2 +- .../file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java | 2 +- .../remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java | 2 +- .../file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java | 2 +- .../remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java | 2 +- .../integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java | 2 +- .../remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java | 2 +- .../file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java | 2 +- .../file/remote/integration/FileToFtpsWithDefaultSettingsIT.java | 2 +- .../file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java | 2 +- .../component/file/remote/integration/FromFilePasswordBeanRefIT.java | 2 +- .../file/remote/integration/FromFilePasswordPropertyRefIT.java | 2 +- .../file/remote/integration/FromFilePercentSignInPasswordIT.java | 2 +- .../apache/camel/component/file/remote/integration/FromFileToFtpIT.java | 2 +- .../component/file/remote/integration/FromFileToFtpWithChmodIT.java | 2 +- .../file/remote/integration/FromFileTransferLoggingLevelIT.java | 2 +- .../file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java index c0edb4e..28ed9f7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java @@ -47,7 +47,7 @@ public class FileToFtpsExplicitSSLWithClientAuthIT extends FtpsServerExplicitSSL protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java index b9b16a7..75a69ea 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java @@ -48,7 +48,7 @@ public class FileToFtpsExplicitSSLWithoutClientAuthIT extends FtpsServerExplicit protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java index c54b88c..5541736 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java @@ -49,7 +49,7 @@ public class FileToFtpsExplicitTLSWithClientAuthIT extends FtpsServerExplicitTLS protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java index ca4945f..7ad925e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java @@ -48,7 +48,7 @@ public class FileToFtpsExplicitTLSWithoutClientAuthIT extends FtpsServerExplicit protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java index 90964e1..8734235 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java @@ -49,7 +49,7 @@ public class FileToFtpsImplicitSSLWithClientAuthIT extends FtpsServerImplicitSSL protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java index 1b98c93..827e8de 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java @@ -48,7 +48,7 @@ public class FileToFtpsImplicitSSLWithoutClientAuthIT extends FtpsServerImplicit protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java index 6144bc1..355577c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java @@ -49,7 +49,7 @@ public class FileToFtpsImplicitTLSWithClientAuthIT extends FtpsServerImplicitTLS protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java index 4c50717..8b53f1a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java @@ -47,7 +47,7 @@ public class FileToFtpsImplicitTLSWithoutClientAuthIT extends FtpsServerImplicit protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java index 428650f..13798fe 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java @@ -51,7 +51,7 @@ public class FileToFtpsWithCustomKeyAndTrustStorePropertiesIT extends FtpsServer protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java index 976b1de..59cc8e9 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java @@ -49,7 +49,7 @@ public class FileToFtpsWithCustomTrustStorePropertiesIT extends FtpsServerExplic protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java index b5e9fcd..44c77f2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java @@ -45,7 +45,7 @@ public class FileToFtpsWithDefaultSettingsIPV6IT extends FtpsServerExplicitTLSWi protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java index bc15cc0..15324cc 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java @@ -47,7 +47,7 @@ public class FileToFtpsWithDefaultSettingsIT extends FtpsServerExplicitTLSWithou protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); + from("file:src/test/data?noop=true").log("Got ${file:name}").to(getFtpUrl()); from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java index b5f7319..dc2e70a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java @@ -56,7 +56,7 @@ public class FileToFtpsWithFtpClientConfigRefIT extends FtpsServerExplicitSSLWit protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { public void configure() throws Exception { - from("file:src/main/data?noop=true").log("Putting ${file:name}").to(getFtpUrl(false)); + from("file:src/test/data?noop=true").log("Putting ${file:name}").to(getFtpUrl(false)); from(getFtpUrl(true)).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java index aa27371..5e741cf 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java @@ -44,7 +44,7 @@ public class FromFilePasswordBeanRefIT extends FtpServerTestSupport { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true&delay=3000").to(getFtpUrl()); + from("file:src/test/data?noop=true&delay=3000").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java index 4970b03..2e7333d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java @@ -54,7 +54,7 @@ public class FromFilePasswordPropertyRefIT extends FtpServerTestSupport { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true&delay=3000").to(getFtpUrl()); + from("file:src/test/data?noop=true&delay=3000").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java index f719081..ef19eca 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java @@ -40,7 +40,7 @@ public class FromFilePercentSignInPasswordIT extends FtpServerTestSupport { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true&delay=3000").to(getFtpUrl()); + from("file:src/test/data?noop=true&delay=3000").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java index d2cbb00..e2182d0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java @@ -39,7 +39,7 @@ public class FromFileToFtpIT extends FtpServerTestSupport { return new RouteBuilder() { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true&delay=3000").to(getFtpUrl()); + from("file:src/test/data?noop=true&delay=3000").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java index 3f2413e..d366936 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java @@ -39,7 +39,7 @@ public class FromFileToFtpWithChmodIT extends FtpServerTestSupport { return new RouteBuilder() { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true&delay=3000").to(getFtpUrl()); + from("file:src/test/data?noop=true&delay=3000").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java index 3564866..a0c992e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java @@ -39,7 +39,7 @@ public class FromFileTransferLoggingLevelIT extends FtpServerTestSupport { return new RouteBuilder() { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true").to(getFtpUrl()); + from("file:src/test/data?noop=true").to(getFtpUrl()); } }; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java index bf42c87..81f82ba 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java @@ -40,7 +40,7 @@ public class FromFileTransferLoggingLevelVerboseIT extends FtpServerTestSupport return new RouteBuilder() { public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); - from("file:src/main/data?noop=true").to(getFtpUrl()); + from("file:src/test/data?noop=true").to(getFtpUrl()); } }; }