diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-29 08:27:11 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-29 08:27:11 +0000 |
commit | 0ff5b1526032147746a2f43b9463e791e115b872 (patch) | |
tree | e9c037b4c686fba77fbbf018f115ecd7f326604c /branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding | |
parent | 171b5220716b9403028c4c9edc054619cf1b9573 (diff) |
TUSCANY-2967 back out the trial change to bytes format messages so that all wire formats consistently return faults as JMS Object messages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding')
-rw-r--r-- | branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java b/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java index e0fb31de78..a0429aa59f 100644 --- a/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java +++ b/branches/sca-java-1.x/itest/jms-format/src/test/java/org/apache/tuscany/sca/binding/jms/format/FormatJMSBytesTestCase.java @@ -51,11 +51,19 @@ public class FormatJMSBytesTestCase { HelloWorldReference helloWorldService = ((SCAClient)node).getService(HelloWorldReference.class, "HelloWorldReferenceComponent"); System.out.println(helloWorldService.getGreetings("Fred Bloggs")); +/* TUSCANY-2967 - disable this change while we decide what to do and + * return faults as JMSObject messages to be consistent + * again with other wire formats assertEquals("Hello Fred Bloggs " + "org.apache.tuscany.sca.binding.jms.format.jmsbytes.helloworld.CheckedException: foo " + "org.osoa.sca.ServiceRuntimeException: java.lang.RuntimeException: bla", helloWorldService.getGreetings("Fred Bloggs")); - +*/ + assertEquals("Hello Fred Bloggs " + + "foo " + + "remote service exception, see nested exception" , + helloWorldService.getGreetings("Fred Bloggs")); + } @After |