cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Fixing Kerberos tests in eclipse
Date Tue, 05 May 2015 10:27:48 GMT
Repository: cxf
Updated Branches:
  refs/heads/master bb9b5d2e1 -> d1b988b21


Fixing Kerberos tests in eclipse


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/d1b988b2
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/d1b988b2
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/d1b988b2

Branch: refs/heads/master
Commit: d1b988b2170bd13ed486659a20ceefa58c87b3f5
Parents: bb9b5d2
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue May 5 11:27:37 2015 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue May 5 11:27:37 2015 +0100

----------------------------------------------------------------------
 .../systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java   | 4 +---
 .../cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java   | 4 +---
 .../cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java       | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d1b988b2/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
index 4385ca6..2c06094 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/jaxrs/kerberos/JAXRSKerberosBookTest.java
@@ -140,13 +140,11 @@ public class JAXRSKerberosBookTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         

http://git-wip-us.apache.org/repos/asf/cxf/blob/d1b988b2/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
index 2a5c70e..db3f485 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/kerberos/KerberosTokenTest.java
@@ -155,13 +155,11 @@ public class KerberosTokenTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         

http://git-wip-us.apache.org/repos/asf/cxf/blob/d1b988b2/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
----------------------------------------------------------------------
diff --git a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
index 348e26d..fa343ec 100644
--- a/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
+++ b/systests/kerberos/src/test/java/org/apache/cxf/systest/kerberos/wssec/spnego/SpnegoTokenTest.java
@@ -147,13 +147,11 @@ public class SpnegoTokenTest extends AbstractLdapTestUnit {
             String basedir = System.getProperty("basedir");
             if (basedir == null) {
                 basedir = new File(".").getCanonicalPath();
-            } else {
-                basedir += "/..";
             }
 
             // System.setProperty("sun.security.krb5.debug", "true");
             System.setProperty("java.security.auth.login.config", 
-                               basedir + "/kerberos/src/test/resources/kerberos.jaas");
+                               basedir + "/src/test/resources/kerberos.jaas");
             
         }
         


Mime
View raw message