summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/testing/itest/jms/exceptions/src
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-02-06 15:08:16 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2012-02-06 15:08:16 +0000
commitb8cd8af0c6a712e13334f74e1eeed9cd9bca7c7b (patch)
tree5d5abd629fe33c03fd0112666a268f18738aeebd /sca-java-2.x/trunk/testing/itest/jms/exceptions/src
parentd5c2ef5c9f7c17d558e21c9aecf1ffcf647047be (diff)
Update some itests for the change to include the exception class in the response msg
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1241038 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/testing/itest/jms/exceptions/src')
-rw-r--r--sca-java-2.x/trunk/testing/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/testing/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java b/sca-java-2.x/trunk/testing/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
index b266517282..4ba10f3d71 100644
--- a/sca-java-2.x/trunk/testing/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
+++ b/sca-java-2.x/trunk/testing/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
@@ -104,7 +104,7 @@ public class ExceptionsTestCase {
// FIXME: what should the response message be for unchecked exceptions with wireFormat.textXML???
Object o = ((ObjectMessage)m).getObject();
assertTrue(o instanceof RuntimeException);
- assertTrue(((RuntimeException)o).getMessage().startsWith("Message = bla"));
+ assertTrue(((RuntimeException)o).getMessage().startsWith("Message = java.lang.RuntimeException: bla"));
}
@Test
@@ -149,7 +149,7 @@ public class ExceptionsTestCase {
Message m = receiveJMSResponse();
Object o = ((ObjectMessage)m).getObject();
assertTrue(o instanceof RuntimeException);
- assertTrue(((RuntimeException)o).getMessage().startsWith("Message = bla"));
+ assertTrue(((RuntimeException)o).getMessage().startsWith("Message = java.lang.RuntimeException: bla"));
}
@After