ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1603453 - in /webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test: PrincipalTest.java SignatureTest.java
Date Wed, 18 Jun 2014 13:56:26 GMT
Author: coheigea
Date: Wed Jun 18 13:56:26 2014
New Revision: 1603453

URL: http://svn.apache.org/r1603453
Log:
Disabling some tests with JDK 1.6

Modified:
    webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/PrincipalTest.java
    webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/SignatureTest.java

Modified: webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/PrincipalTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/PrincipalTest.java?rev=1603453&r1=1603452&r2=1603453&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/PrincipalTest.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/PrincipalTest.java
Wed Jun 18 13:56:26 2014
@@ -308,7 +308,8 @@ public class PrincipalTest extends Abstr
         //
         if ("IBM Corporation".equals(System.getProperty("java.vendor"))
             || System.getProperty("java.version") != null
-                &&  System.getProperty("java.version").startsWith("1.8")) {
+                &&  (System.getProperty("java.version").startsWith("1.8")
+                    || System.getProperty("java.version").startsWith("1.6"))) {
             return;
         }
 

Modified: webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/SignatureTest.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/SignatureTest.java?rev=1603453&r1=1603452&r2=1603453&view=diff
==============================================================================
--- webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/SignatureTest.java
(original)
+++ webservices/wss4j/trunk/ws-security-stax/src/test/java/org/apache/wss4j/stax/test/SignatureTest.java
Wed Jun 18 13:56:26 2014
@@ -1439,7 +1439,8 @@ public class SignatureTest extends Abstr
         //
         if ("IBM Corporation".equals(System.getProperty("java.vendor"))
             || System.getProperty("java.version") != null
-                &&  System.getProperty("java.version").startsWith("1.8")) {
+                &&  (System.getProperty("java.version").startsWith("1.8")
+                    || System.getProperty("java.version").startsWith("1.6"))) {
             return;
         }
         



Mime
View raw message