camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] git commit: Fixed test
Date Mon, 11 Nov 2013 09:16:08 GMT
Fixed test


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

Branch: refs/heads/camel-2.12.x
Commit: dbf57fcb8ad12bb9d71376b3b81f5e39a91e7592
Parents: 25ce643
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:17:11 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/dbf57fcb/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/dbf57fcb/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