tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r986728 - /tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
Date Wed, 18 Aug 2010 15:12:29 GMT
Author: antelder
Date: Wed Aug 18 15:12:29 2010
New Revision: 986728

URL: http://svn.apache.org/viewvc?rev=986728&view=rev
Log:
Update to check for ServiceRuntimeException

Modified:
    tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java

Modified: tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java?rev=986728&r1=986727&r2=986728&view=diff
==============================================================================
--- tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
(original)
+++ tuscany/sca-java-2.x/trunk/itest/jms/exceptions/src/test/java/org/apache/tuscany/sca/binding/jms/ExceptionsTestCase.java
Wed Aug 18 15:12:29 2010
@@ -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("java.lang.RuntimeException".equals(o.getClass().getName()));
+        assertTrue("org.oasisopen.sca.ServiceRuntimeException".equals(o.getClass().getName()));
         assertEquals("bla", ((RuntimeException)o).getMessage());
     }
 
@@ -150,7 +150,7 @@ public class ExceptionsTestCase {
         Message m = receiveJMSResponse();
         Object o = ((ObjectMessage)m).getObject();
         assertTrue(o instanceof RuntimeException);
-        assertTrue("java.lang.RuntimeException".equals(o.getClass().getName()));
+        assertTrue("org.oasisopen.sca.ServiceRuntimeException".equals(o.getClass().getName()));
         assertEquals("bla", ((RuntimeException)o).getMessage());
     }
 



Mime
View raw message