You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gn...@apache.org on 2020/01/29 00:30:59 UTC
[camel] branch master updated: [CAMEL-14437] Fix unit test
This is an automated email from the ASF dual-hosted git repository.
gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 1d463d3 [CAMEL-14437] Fix unit test
1d463d3 is described below
commit 1d463d34de0f4db4d2018cb27e7f8c332cc474e3
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Wed Jan 29 01:28:08 2020 +0100
[CAMEL-14437] Fix unit test
---
.../org/apache/camel/maven/packaging/PrepareCamelMainMojoTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/PrepareCamelMainMojoTest.java b/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/PrepareCamelMainMojoTest.java
index 68c9a93..ace274d 100644
--- a/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/PrepareCamelMainMojoTest.java
+++ b/tooling/maven/camel-package-maven-plugin/src/test/java/org/apache/camel/maven/packaging/PrepareCamelMainMojoTest.java
@@ -30,7 +30,7 @@ public class PrepareCamelMainMojoTest {
@Test
public void testMyParser() throws Exception {
- String fileName = "src/test/java/org/apache/camel/packaging/MyConfiguration.java";
+ String fileName = "src/test/java/org/apache/camel/maven/packaging/MyConfiguration.java";
List<MainModel.MainOptionModel> list = PrepareCamelMainMojo.parseConfigurationSource(fileName);
assertNotNull(list);
@@ -43,7 +43,7 @@ public class PrepareCamelMainMojoTest {
assertEquals("shutdownTimeout", list.get(4).getName());
assertEquals("int", list.get(4).getJavaType());
- assertEquals("300", list.get(4).getDefaultValue());
+ assertEquals(300, list.get(4).getDefaultValue());
assertEquals("Timeout in seconds to graceful shutdown Camel.", list.get(4).getDescription());
assertEquals("tracing", list.get(25).getName());