camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/2] git commit: Fixed test
Date Mon, 11 Nov 2013 09:16:07 GMT
Updated Branches:
  refs/heads/camel-2.12.x 25ce64371 -> dbf57fcb8
  refs/heads/master f68021041 -> e32f672e5


Fixed test


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

Branch: refs/heads/master
Commit: e32f672e523f40053094a3b504205642af9f22b2
Parents: f680210
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Mon Nov 11 10:16:57 2013 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Mon Nov 11 10:16:57 2013 +0100

----------------------------------------------------------------------
 .../blueprint/BlueprintProduceConsumeImplicitPropertyTest.java  | 2 --
 .../blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml   | 5 ++---
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e32f672e/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.java
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.java
b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.java
index 536cf74..4d29261 100644
--- a/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.java
+++ b/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.test.blueprint;
 
-//import org.junit.Ignore;
 import org.junit.Test;
 
 /**
@@ -30,7 +29,6 @@ public class BlueprintProduceConsumeImplicitPropertyTest extends CamelBlueprintT
     }
 
     @Test
-    //@Ignore("Test fails. Fix Me!")
     public void testImplicit() throws Exception {
         getMockEndpoint("mock:result").expectedMessageCount(1);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/e32f672e/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml
----------------------------------------------------------------------
diff --git a/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml
b/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml
index 006096c..b5ae31f 100644
--- a/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml
+++ b/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/BlueprintProduceConsumeImplicitPropertyTest.xml
@@ -20,15 +20,14 @@
 		   xsi:schemaLocation="
              http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
 
-	<camelContext xmlns="http://camel.apache.org/schema/blueprint">
+	<camelContext id="myCamel" xmlns="http://camel.apache.org/schema/blueprint">
 		<!-- no routes -->
 	</camelContext>
 
 	<!-- bean that has @Consume and @Produce -->
-	<bean id="fooService" class="org.apache.camel.test.blueprint.FooService">
+	<bean id="fooService" class="org.apache.camel.test.blueprint.FooService" depends-on="myCamel">
 		<property name="fooEndpoint" value="seda:input"/>
 		<property name="barEndpoint" value="mock:result"/>
 	</bean>
 
-
 </blueprint>


Mime
View raw message