This is an automated email from the ASF dual-hosted git repository.
nfilotto 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 103613cf603 CAMEL-14832: camel-swift - Move the test classes into the
right packages
103613cf603 is described below
commit 103613cf6037c5d60997a117e4f0e70f874008cb
Author: Nicolas Filotto <[email protected]>
AuthorDate: Fri Dec 2 14:09:07 2022 +0100
CAMEL-14832: camel-swift - Move the test classes into the right packages
---
.../camel/dataformat/swift/{mx => mt}/SpringSwiftMtDataFormatTest.java | 3 +--
.../camel/dataformat/swift/{mx => mt}/SwiftMtDataFormatTest.java | 2 +-
.../camel/dataformat/swift/{mt => mx}/SpringSwiftMxDataFormatTest.java | 3 +--
.../camel/dataformat/swift/{mt => mx}/SwiftMxDataFormatTest.java | 2 +-
4 files changed, 4 insertions(+), 6 deletions(-)
diff --git
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMtDataFormatTest.java
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMtDataFormatTest.java
similarity index 97%
rename from
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMtDataFormatTest.java
rename to
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMtDataFormatTest.java
index 6bafc5125ce..a81ba483ce1 100644
---
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMtDataFormatTest.java
+++
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMtDataFormatTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.camel.dataformat.swift.mx;
+package org.apache.camel.dataformat.swift.mt;
import java.io.InputStream;
import java.nio.file.Files;
@@ -24,7 +24,6 @@ import com.fasterxml.jackson.databind.ObjectMapper;
import com.prowidesoftware.swift.model.mt.mt1xx.MT103;
import com.prowidesoftware.swift.model.mt.mt5xx.MT515;
import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.dataformat.swift.mt.SwiftMtDataFormat;
import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
import org.junit.jupiter.api.Test;
import org.springframework.context.support.AbstractApplicationContext;
diff --git
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMtDataFormatTest.java
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMtDataFormatTest.java
similarity index 99%
rename from
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMtDataFormatTest.java
rename to
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMtDataFormatTest.java
index dac8743437f..f86dd5b85f7 100644
---
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMtDataFormatTest.java
+++
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMtDataFormatTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.camel.dataformat.swift.mx;
+package org.apache.camel.dataformat.swift.mt;
import java.io.InputStream;
import java.nio.file.Files;
diff --git
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMxDataFormatTest.java
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMxDataFormatTest.java
similarity index 98%
rename from
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMxDataFormatTest.java
rename to
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMxDataFormatTest.java
index c9cec4d9144..f7466bc8827 100644
---
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SpringSwiftMxDataFormatTest.java
+++
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SpringSwiftMxDataFormatTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.camel.dataformat.swift.mt;
+package org.apache.camel.dataformat.swift.mx;
import java.io.BufferedReader;
import java.io.InputStream;
@@ -28,7 +28,6 @@ import com.prowidesoftware.swift.model.mx.MxCamt04800103;
import com.prowidesoftware.swift.model.mx.MxPacs00800107;
import com.prowidesoftware.swift.model.mx.sys.MxXsys01100102;
import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.dataformat.swift.mx.SwiftMxDataFormat;
import org.apache.camel.test.spring.junit5.CamelSpringTestSupport;
import org.apache.commons.io.IOUtils;
import org.junit.jupiter.api.Test;
diff --git
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMxDataFormatTest.java
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMxDataFormatTest.java
similarity index 99%
rename from
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMxDataFormatTest.java
rename to
components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMxDataFormatTest.java
index dd2473095d6..1846fb3b02b 100644
---
a/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mt/SwiftMxDataFormatTest.java
+++
b/components/camel-swift/src/test/java/org/apache/camel/dataformat/swift/mx/SwiftMxDataFormatTest.java
@@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package org.apache.camel.dataformat.swift.mt;
+package org.apache.camel.dataformat.swift.mx;
import java.io.BufferedReader;
import java.io.InputStream;