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/01/19 05:59:45 UTC
[camel-spring-boot] branch main updated: [CAMEL-17499]fix broken tests in camel-spring-boot (#430)
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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 9045a91 [CAMEL-17499]fix broken tests in camel-spring-boot (#430)
9045a91 is described below
commit 9045a91a47ae84783d56a957693f007a235fd4ed
Author: Freeman(Yue) Fang <fr...@gmail.com>
AuthorDate: Wed Jan 19 00:59:37 2022 -0500
[CAMEL-17499]fix broken tests in camel-spring-boot (#430)
---
.../org/apache/camel/springboot/catalog/languages.properties | 1 +
.../camel/springboot/catalog/SpringBootRuntimeProviderTest.java | 4 ++--
.../java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java | 2 +-
.../test/java/org/apache/camel/itest/springboot/CamelSoapTest.java | 2 +-
.../java/org/apache/camel/itest/springboot/CamelTarfileTest.java | 2 +-
.../apache/camel/itest/springboot/CamelUnivocityParsersTest.java | 6 +++---
.../org/apache/camel/itest/springboot/CamelXmlsecurityTest.java | 2 +-
.../java/org/apache/camel/itest/springboot/CamelZipfileTest.java | 2 +-
8 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties
index c91b6d0..7a71fee 100644
--- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties
+++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties
@@ -6,6 +6,7 @@ joor
jsonpath
mvel
ognl
+simple
spel
xpath
xquery
diff --git a/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java b/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java
index aff4eb7..29ac1f1 100644
--- a/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java
+++ b/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java
@@ -75,8 +75,8 @@ public class SpringBootRuntimeProviderTest {
assertFalse(names.isEmpty());
assertTrue(names.contains("bindyCsv"));
- assertTrue(names.contains("zipdeflater"));
- assertTrue(names.contains("zipfile"));
+ assertTrue(names.contains("zipDeflater"));
+ assertTrue(names.contains("zipFile"));
}
@Test
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java
index c5b0ec1..9683445 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java
@@ -40,7 +40,7 @@ public class CamelJacksonxmlTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config);
+ this.runDataformatTest(config, "jacksonXml");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java
index 4d5aedd..3d3a50d 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java
@@ -40,7 +40,7 @@ public class CamelSoapTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config, "soapjaxb");
+ this.runDataformatTest(config, "soap");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java
index 568b83a..0cab94d 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java
@@ -40,7 +40,7 @@ public class CamelTarfileTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config);
+ this.runDataformatTest(config, "tarFile");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelUnivocityParsersTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelUnivocityParsersTest.java
index 5c315ce..2cd11a9 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelUnivocityParsersTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelUnivocityParsersTest.java
@@ -40,9 +40,9 @@ public class CamelUnivocityParsersTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config, "univocity-csv");
- this.runDataformatTest(config, "univocity-fixed");
- this.runDataformatTest(config, "univocity-tsv");
+ this.runDataformatTest(config, "univocityCsv");
+ this.runDataformatTest(config, "univocityFixed");
+ this.runDataformatTest(config, "univocityTsv");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelXmlsecurityTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelXmlsecurityTest.java
index d4bf98d..73738e2 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelXmlsecurityTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelXmlsecurityTest.java
@@ -40,7 +40,7 @@ public class CamelXmlsecurityTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config, "secureXML");
+ this.runDataformatTest(config, "xmlSecurity");
this.runModuleUnitTestsIfEnabled(config);
}
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelZipfileTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelZipfileTest.java
index 1c61c8b..c8bcb19 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelZipfileTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelZipfileTest.java
@@ -40,7 +40,7 @@ public class CamelZipfileTest extends AbstractSpringBootTestSupport {
@Test
public void componentTests() throws Exception {
- this.runDataformatTest(config);
+ this.runDataformatTest(config, "zipFile");
this.runModuleUnitTestsIfEnabled(config);
}