You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/08/22 04:37:04 UTC
[camel] branch main updated: camel-ftp: JUnit 5.9.0 compatibility
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 6bfa67c3390 camel-ftp: JUnit 5.9.0 compatibility
6bfa67c3390 is described below
commit 6bfa67c339096cd95386ea2c7b4d8245170fa1fa
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Aug 22 06:35:56 2022 +0200
camel-ftp: JUnit 5.9.0 compatibility
Private lifecycle methods no longer allowed
https://github.com/junit-team/junit5/issues/2914
---
.../component/file/remote/integration/FromFtpSedaDeleteFileIT.java | 2 +-
.../camel/component/file/remote/integration/FromFtpUseListFalseIT.java | 2 +-
.../file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java
index 95597de02a3..f4e0506dd7a 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java
@@ -55,7 +55,7 @@ public class FromFtpSedaDeleteFileIT extends FtpServerTestSupport {
}
@BeforeEach
- private void prepareFtpServer() throws Exception {
+ public void prepareFtpServer() throws Exception {
// prepares the FTP Server by creating a file on the server that we want
// to unit
// test that we can pool and store as a local file
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java
index b782d13ffd1..3c0daf91a9a 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java
@@ -39,7 +39,7 @@ public class FromFtpUseListFalseIT extends FtpServerTestSupport {
}
@BeforeEach
- private void prepareFtpServer() throws Exception {
+ public void prepareFtpServer() throws Exception {
// prepares the FTP Server by creating a file on the server that we want
// to unit
// test that we can pool and store as a local file
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java
index b962b05483d..b0613241fe9 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java
@@ -29,7 +29,7 @@ public class FtpConsumerMaxMessagesPerPollIT extends FtpServerTestSupport {
}
@BeforeEach
- void prepareFtpServer() {
+ public void prepareFtpServer() {
sendFile(getFtpUrl(), "Bye World", "bye.txt");
sendFile(getFtpUrl(), "Hello World", "hello.txt");
sendFile(getFtpUrl(), "Godday World", "godday.txt");