You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2012/11/21 11:31:18 UTC
svn commit: r1412045 -
/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
Author: coheigea
Date: Wed Nov 21 10:31:17 2012
New Revision: 1412045
URL: http://svn.apache.org/viewvc?rev=1412045&view=rev
Log:
Disable GCM tests on IBM JDK 7
Modified:
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java?rev=1412045&r1=1412044&r2=1412045&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java (original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java Wed Nov 21 10:31:17 2012
@@ -62,6 +62,15 @@ public class GCMTest extends AbstractBus
@org.junit.Test
public void testAESGCM128() throws Exception {
+ //
+ // This test fails with the IBM JDK 7
+ //
+ if ("IBM Corporation".equals(System.getProperty("java.vendor"))
+ && System.getProperty("java.version") != null
+ && System.getProperty("java.version").startsWith("1.7")) {
+ return;
+ }
+
SpringBusFactory bf = new SpringBusFactory();
URL busFile = GCMTest.class.getResource("client/client.xml");
@@ -86,6 +95,15 @@ public class GCMTest extends AbstractBus
if (!unrestrictedPoliciesInstalled) {
return;
}
+
+ //
+ // This test fails with the IBM JDK 7
+ //
+ if ("IBM Corporation".equals(System.getProperty("java.vendor"))
+ && System.getProperty("java.version") != null
+ && System.getProperty("java.version").startsWith("1.7")) {
+ return;
+ }
SpringBusFactory bf = new SpringBusFactory();
URL busFile = GCMTest.class.getResource("client/client.xml");
@@ -111,6 +129,15 @@ public class GCMTest extends AbstractBus
if (!unrestrictedPoliciesInstalled) {
return;
}
+
+ //
+ // This test fails with the IBM JDK 7
+ //
+ if ("IBM Corporation".equals(System.getProperty("java.vendor"))
+ && System.getProperty("java.version") != null
+ && System.getProperty("java.version").startsWith("1.7")) {
+ return;
+ }
SpringBusFactory bf = new SpringBusFactory();
URL busFile = GCMTest.class.getResource("client/client.xml");