Repository: camel
Updated Branches:
  refs/heads/master 276bf38a1 -> 835a41edf


Add better error message for test failure


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

Branch: refs/heads/master
Commit: 3523fa17eb6269568b0cddbef86535f6641b39ff
Parents: 133be33
Author: Daniel Kulp <dk...@apache.org>
Authored: Fri Aug 22 12:50:03 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Fri Aug 22 12:56:10 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/camel/itest/osgi/core/seda/SedaTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3523fa17/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/seda/SedaTest.java
----------------------------------------------------------------------
diff --git 
a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/seda/SedaTest.java
 
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/seda/SedaTest.java
index 1be2d07..78e3214 100644
--- 
a/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/seda/SedaTest.java
+++ 
b/tests/camel-itest-osgi/src/test/java/org/apache/camel/itest/osgi/core/seda/SedaTest.java
@@ -59,8 +59,8 @@ public class SedaTest extends OSGiIntegrationTestSupport {
         assertNotSame(name1, name2);
 
         String id = "" + bundleContext.getBundle().getBundleId();
-        assertTrue(name1.startsWith(id));
-        assertTrue(name2.startsWith(id));
+        assertTrue(name1 + " does not start with " + id, name1.startsWith(id));
+        assertTrue(name2 + " does not start with " + id, name2.startsWith(id));
     }
    
 }
\ No newline at end of file

Reply via email to