cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r462710 - /incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java
Date Wed, 11 Oct 2006 06:37:16 GMT
Author: ningjiang
Date: Tue Oct 10 23:37:15 2006
New Revision: 462710

URL: http://svn.apache.org/viewvc?view=rev&rev=462710
Log:
Removed the test of deprecated API javax.resource.spi.ResourceAdapterInternalException.getLinkedException();

Modified:
    incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java

Modified: incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java?view=diff&rev=462710&r1=462709&r2=462710
==============================================================================
--- incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java
(original)
+++ incubator/cxf/trunk/jca/src/test/java/org/apache/cxf/jca/core/resourceadapter/ResourceAdapterInternalExceptionTest.java
Tue Oct 10 23:37:15 2006
@@ -66,9 +66,7 @@
         assertTrue(e.toString().indexOf(msg) != -1);
         assertTrue(e.toString().indexOf("reason") == -1);
         assertEquals(e.getMessage(), msg);
-
-        assertNull(e.getCause());
-        assertNull(e.getLinkedException());
+        assertNull(e.getCause());        
     }
 
     public void testMessageWithEx() throws Exception {
@@ -95,9 +93,7 @@
         assertTrue(e.toString().indexOf(msg) != -1);
         assertTrue(e.toString().indexOf("reason") != -1);
         assertTrue(e.toString().indexOf(causeMsg) != -1);
-
-        assertEquals(e.getCause(), cause);
-        assertNull(e.getLinkedException());
+        assertEquals(e.getCause(), cause);       
 
     }
 



Mime
View raw message