cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [cxf] branch 3.2.x-fixes updated: Re-enabling fixed test
Date Mon, 16 Jul 2018 14:04:24 GMT
This is an automated email from the ASF dual-hosted git repository.

coheigea pushed a commit to branch 3.2.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/3.2.x-fixes by this push:
     new 011ca19  Re-enabling fixed test
011ca19 is described below

commit 011ca19d333273650d31ba6130830960697e6cd7
Author: Colm O hEigeartaigh <coheigea@apache.org>
AuthorDate: Mon Jul 16 11:18:48 2018 +0100

    Re-enabling fixed test
    
    (cherry picked from commit f03d2152d88e33b1a2a0fd7ed41d2bd79ca77110)
---
 .../cxf/rs/security/oauth2/provider/JPAOAuthDataProviderTest.java | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProviderTest.java
b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProviderTest.java
index 5c15e43..b7a958e 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProviderTest.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/test/java/org/apache/cxf/rs/security/oauth2/provider/JPAOAuthDataProviderTest.java
@@ -36,7 +36,6 @@ import org.apache.cxf.rs.security.oauth2.utils.OAuthConstants;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class JPAOAuthDataProviderTest extends Assert {
@@ -180,7 +179,6 @@ public class JPAOAuthDataProviderTest extends Assert {
     }
 
     @Test
-    @Ignore("uncomment when CXF-7264 is fixed")
     public void testAddGetDeleteAccessTokenWithNullSubject() {
         Client c = addClient("102", "bob");
 
@@ -282,7 +280,7 @@ public class JPAOAuthDataProviderTest extends Assert {
         assertEquals("http://client/redirect", c.getRedirectUris().get(0));
         assertEquals(c.getResourceOwnerSubject().getLogin(), c2.getResourceOwnerSubject().getLogin());
     }
-    
+
     protected void tearDownClient(String clientId) {
         if (getProvider() == null) {
             return;
@@ -319,8 +317,8 @@ public class JPAOAuthDataProviderTest extends Assert {
                 emFactory.close();
             }
         } catch (Throwable ex) {
-            ex.printStackTrace();    
-        } finally {    
+            ex.printStackTrace();
+        } finally {
             try {
                 //connection.createStatement().execute("SHUTDOWN");
             } catch (Throwable ex) {


Mime
View raw message