cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1380813 - /cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
Date Tue, 04 Sep 2012 19:01:26 GMT
Author: dkulp
Date: Tue Sep  4 19:01:25 2012
New Revision: 1380813

URL: http://svn.apache.org/viewvc?rev=1380813&view=rev
Log:
Fix compile failure

Modified:
    cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java

Modified: cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java?rev=1380813&r1=1380812&r2=1380813&view=diff
==============================================================================
--- cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
(original)
+++ cxf/trunk/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
Tue Sep  4 19:01:25 2012
@@ -18,7 +18,8 @@
  */
 package org.apache.cxf.systest.sts.basic_auth;
 
-import org.apache.cxf.jaxrs.client.ServerWebApplicationException;
+import javax.ws.rs.WebApplicationException;
+
 import org.apache.cxf.jaxrs.client.WebClient;
 import org.apache.cxf.systest.sts.common.SecurityTestUtil;
 import org.apache.cxf.systest.sts.deployment.STSServer;
@@ -85,7 +86,7 @@ public class JaxrsBasicAuthTest extends 
             }
             System.out.println("The number " + numToDouble + " doubled is " + resp);
             org.junit.Assert.assertEquals(2 * numToDouble, resp);
-        } catch (ServerWebApplicationException ex) {
+        } catch (WebApplicationException ex) {
             if (!authFailureExpected) {
                 throw new RuntimeException("Unexpected exception");
             }



Mime
View raw message