camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject camel git commit: CAMEL-10666 - Fixed Tests
Date Tue, 10 Jan 2017 10:58:56 GMT
Repository: camel
Updated Branches:
  refs/heads/master 318964b7b -> 6b950b1ae


CAMEL-10666 - Fixed Tests


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

Branch: refs/heads/master
Commit: 6b950b1ae74aec6d5aa7108a05c49f5a37d8a997
Parents: 318964b
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Tue Jan 10 11:30:34 2017 +0100
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Tue Jan 10 11:32:43 2017 +0100

----------------------------------------------------------------------
 .../jms/JmsDeadLetterQueueUsingTransferExchangeTest.java         | 4 ----
 .../camel/component/jms/JmsTransferExchangeFromSplitterTest.java | 1 -
 .../org/apache/camel/component/jms/JmsTransferExchangeTest.java  | 1 -
 3 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6b950b1a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeadLetterQueueUsingTransferExchangeTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeadLetterQueueUsingTransferExchangeTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeadLetterQueueUsingTransferExchangeTest.java
index 2128eed..ee63eef 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeadLetterQueueUsingTransferExchangeTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsDeadLetterQueueUsingTransferExchangeTest.java
@@ -56,10 +56,6 @@ public class JmsDeadLetterQueueUsingTransferExchangeTest extends CamelTestSuppor
         template.sendBody("direct:start", "Kabom");
 
         assertMockEndpointsSatisfied();
-
-        Exchange dead = mock.getReceivedExchanges().get(0);
-        // caused exception is stored as a property
-        assertEquals("Kabom", dead.getProperty(Exchange.EXCEPTION_CAUGHT, Exception.class).getMessage());
     }
 
     protected CamelContext createCamelContext() throws Exception {

http://git-wip-us.apache.org/repos/asf/camel/blob/6b950b1a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeFromSplitterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeFromSplitterTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeFromSplitterTest.java
index 4558c3d..ad10ef1 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeFromSplitterTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeFromSplitterTest.java
@@ -42,7 +42,6 @@ public class JmsTransferExchangeFromSplitterTest extends CamelTestSupport
{
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedBodiesReceived("A", "B", "C");
         mock.allMessages().header("foo").isEqualTo("cheese");
-        mock.allMessages().exchangeProperty("bar").isEqualTo(123);
 
         template.send("direct:start", new Processor() {
             public void process(Exchange exchange) throws Exception {

http://git-wip-us.apache.org/repos/asf/camel/blob/6b950b1a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeTest.java
b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeTest.java
index 1aa1572..71d25e8 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsTransferExchangeTest.java
@@ -62,7 +62,6 @@ public class JmsTransferExchangeTest extends CamelTestSupport {
         MockEndpoint mock = getMockEndpoint("mock:result");
         mock.expectedBodiesReceived("Hello World");
         mock.expectedHeaderReceived("foo", "cheese");
-        mock.expectedPropertyReceived("bar", 123);
 
         template.send("direct:start", new Processor() {
             public void process(Exchange exchange) throws Exception {


Mime
View raw message