cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1500796 - /cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
Date Mon, 08 Jul 2013 15:19:49 GMT
Author: sergeyb
Date: Mon Jul  8 15:19:48 2013
New Revision: 1500796

URL: http://svn.apache.org/r1500796
Log:
Fixing test in 2.7.x

Modified:
    cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java

Modified: cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java?rev=1500796&r1=1500795&r2=1500796&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
(original)
+++ cxf/branches/2.7.x-fixes/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSAsyncClientTest.java
Mon Jul  8 15:19:48 2013
@@ -143,7 +143,7 @@ public class JAXRSAsyncClientTest extend
             fail("Exception expected");
         } catch (ExecutionException ex) {
             assertTrue(ex.getCause() instanceof NotFoundException);
-            assertTrue(ex.getCause() == holder.value);
+            assertTrue(ex.getCause() == ((ClientException)holder.value).getCause());
         }
     }
     



Mime
View raw message