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 2020/09/04 07:46:15 UTC
[camel] 01/03: CAMEL-15478: Api method can lookup from nice name to
enum constant that are upper and underscore style.
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a1bc5048b010c6074076e74e6001e813817bff4a
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Fri Sep 4 08:59:04 2020 +0200
CAMEL-15478: Api method can lookup from nice name to enum constant that are upper and underscore style.
---
.../apache/camel/support/component/ArgumentSubstitutionParserTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/camel-core/src/test/java/org/apache/camel/support/component/ArgumentSubstitutionParserTest.java b/core/camel-core/src/test/java/org/apache/camel/support/component/ArgumentSubstitutionParserTest.java
index 473688f..788fcf5 100644
--- a/core/camel-core/src/test/java/org/apache/camel/support/component/ArgumentSubstitutionParserTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/support/component/ArgumentSubstitutionParserTest.java
@@ -67,7 +67,7 @@ public class ArgumentSubstitutionParserTest {
final ApiMethodParser.ApiMethodModel sayHi1 = methodModels.get(8);
assertEquals(PERSON, sayHi1.getArguments().get(0).getName());
- assertEquals("SAYHI_1", sayHi1.getUniqueName());
+ assertEquals("SAY_HI_1", sayHi1.getUniqueName());
ApiMethodParser.ApiMethodModel sayHiResource = methodModels.get(9);
assertEquals(java.util.Date.class, sayHiResource.getResultType());