camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1326914 - in /camel/trunk/camel-core/src/test/java/org/apache/camel: component/ref/RefInvalidTest.java impl/CamelPostProcessorHelperTest.java
Date Tue, 17 Apr 2012 04:23:00 GMT
Author: davsclaus
Date: Tue Apr 17 04:23:00 2012
New Revision: 1326914

URL: http://svn.apache.org/viewvc?rev=1326914&view=rev
Log:
Fixed test after polish

Modified:
    camel/trunk/camel-core/src/test/java/org/apache/camel/component/ref/RefInvalidTest.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/impl/CamelPostProcessorHelperTest.java

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/component/ref/RefInvalidTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/component/ref/RefInvalidTest.java?rev=1326914&r1=1326913&r2=1326914&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/component/ref/RefInvalidTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/component/ref/RefInvalidTest.java
Tue Apr 17 04:23:00 2012
@@ -44,7 +44,7 @@ public class RefInvalidTest extends Cont
             template.sendBody("ref:xxx", "Hello World");
             fail("Should have thrown an exception");
         } catch (ResolveEndpointFailedException e) {
-            assertEquals("Failed to resolve endpoint: ref://xxx due to: No bean could be
found in the registry for: xxx of type: org.apache.camel.Endpoint", e.getMessage());
+            assertEquals("Failed to resolve endpoint: ref:xxx due to: No bean could be found
in the registry for: xxx of type: org.apache.camel.Endpoint", e.getMessage());
             NoSuchBeanException cause = assertIsInstanceOf(NoSuchBeanException.class, e.getCause());
             assertEquals("xxx", cause.getName());
         }

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/impl/CamelPostProcessorHelperTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/CamelPostProcessorHelperTest.java?rev=1326914&r1=1326913&r2=1326914&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/impl/CamelPostProcessorHelperTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/impl/CamelPostProcessorHelperTest.java
Tue Apr 17 04:23:00 2012
@@ -287,7 +287,7 @@ public class CamelPostProcessorHelperTes
             helper.getInjectionValue(type, endpointInject.uri(), endpointInject.ref(), propertyName,
bean, "foo");
             fail("Should throw exception");
         } catch (ResolveEndpointFailedException e) {
-            assertEquals("Failed to resolve endpoint: xxx://foo due to: No component found
with scheme: xxx", e.getMessage());
+            assertEquals("Failed to resolve endpoint: xxx:foo due to: No component found
with scheme: xxx", e.getMessage());
         }
     }
 



Mime
View raw message