camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/3] camel git commit: Fixed test to use correct simple syntax
Date Fri, 03 Feb 2017 11:49:49 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.18.x 029fd8e70 -> f0d15106f
  refs/heads/master 263874610 -> d29f25960


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/f0d15106
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f0d15106
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f0d15106

Branch: refs/heads/camel-2.18.x
Commit: f0d15106fde2a6a6c0ff3f3ae38b6c620fb8dd64
Parents: 029fd8e7
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Feb 3 12:31:10 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Feb 3 12:45:06 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/f0d15106/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/f0d15106/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")


Mime
View raw message