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 2017/02/03 11:49:50 UTC
[2/3] camel git commit: Fixed test to use correct simple syntax
Fixed test to use correct simple syntax
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/789af108
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/789af108
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/789af108
Branch: refs/heads/master
Commit: 789af108a916d3da18c80ecd4bfeeb8ef647efc9
Parents: 2638746
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Feb 3 12:31:10 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Feb 3 12:45:50 2017 +0100
----------------------------------------------------------------------
.../test/java/org/apache/camel/management/ManagedCBRTest.java | 4 ++--
.../apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/789af108/camel-core/src/test/java/org/apache/camel/management/ManagedCBRTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/management/ManagedCBRTest.java b/camel-core/src/test/java/org/apache/camel/management/ManagedCBRTest.java
index 4003894..9c6c966 100644
--- a/camel-core/src/test/java/org/apache/camel/management/ManagedCBRTest.java
+++ b/camel-core/src/test/java/org/apache/camel/management/ManagedCBRTest.java
@@ -68,10 +68,10 @@ public class ManagedCBRTest extends ManagementTestSupport {
from("direct:start").routeId("route")
.to("mock:a").id("task-a")
.choice().id("choice")
- .when(simple("${body} contains Camel")).id("when")
+ .when(simple("${body} contains 'Camel'")).id("when")
.to("mock:b").id("task-b")
.to("mock:c").id("task-c")
- .when(simple("${body} contains Donkey")).id("when2")
+ .when(simple("${body} contains 'Donkey'")).id("when2")
.to("mock:d").id("task-d")
.otherwise().id("otherwise")
.to("mock:e").id("task-e")
http://git-wip-us.apache.org/repos/asf/camel/blob/789af108/camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java b/camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
index f589c85..e41fbb9 100644
--- a/camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
+++ b/camel-core/src/test/java/org/apache/camel/util/DumpModelAsXmlChoiceFilterRouteTest.java
@@ -57,7 +57,7 @@ public class DumpModelAsXmlChoiceFilterRouteTest extends ContextTestSupport {
.filter().header("extra-gold")
.to("mock:extra-gold")
.endChoice()
- .when().simple("${body} contains Camel")
+ .when().simple("${body} contains 'Camel'")
.to("mock:camel")
.otherwise()
.to("mock:other")