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 2016/01/30 17:06:28 UTC

[4/8] camel git commit: CAMEL-9539: toString of Exchange/Message should only output id

CAMEL-9539: toString of Exchange/Message should only output id


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f2e98017
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f2e98017
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f2e98017

Branch: refs/heads/master
Commit: f2e980175aca1b765c3e757623b5f2fefcbafa8f
Parents: b91b3c4
Author: Claus Ibsen <da...@apache.org>
Authored: Sat Jan 30 15:26:07 2016 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sat Jan 30 17:06:15 2016 +0100

----------------------------------------------------------------------
 .../test/scala/org/apache/camel/scala/dsl/SValidateTest.scala    | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/f2e98017/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala
----------------------------------------------------------------------
diff --git a/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala b/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala
index f52c511..8e88932 100644
--- a/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala
+++ b/components/camel-scala/src/test/scala/org/apache/camel/scala/dsl/SValidateTest.scala
@@ -43,8 +43,6 @@ class SValidateSimpleTest extends ValidateSimpleTest with RouteBuilderSupport {
         // as the Expression could be different between the DSL and simple language, here we just check part of the message
         assertTrue("Get a wrong exception message",
                    e.getCause.getMessage.startsWith("Validation failed for Predicate[org.apache.camel.scala.ScalaPredicate"))
-        assertTrue("Get a wrong exception message",
-                   e.getCause.getMessage.endsWith("[Message: 1.1.2010]"))
       }
     }
 
@@ -81,8 +79,6 @@ class SValidateRegExpTest extends ValidateRegExpTest with RouteBuilderSupport {
         // as the Expression could be different between the DSL and simple language, here we just check part of the message
         assertTrue("Get a wrong exception message",
                    e.getCause.getMessage.startsWith("Validation failed for Predicate[org.apache.camel.scala.ScalaPredicate"))
-        assertTrue("Get a wrong exception message",
-                   e.getCause.getMessage.endsWith("[Message: 1.1.2010]"))
       }
     }