cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1488247 - /cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java
Date Fri, 31 May 2013 14:23:11 GMT
Author: coheigea
Date: Fri May 31 14:23:10 2013
New Revision: 1488247

URL: http://svn.apache.org/r1488247
Log:
Added some (commented out) streaming GCM tests

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=1488247&r1=1488246&r2=1488247&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
Fri May 31 14:23:10 2013
@@ -33,7 +33,8 @@ import org.example.contract.doubleit.Dou
 import org.junit.BeforeClass;
 
 /**
- * A set of tests for GCM algorithms using custom WS-SecurityPolicy expressions.
+ * A set of tests for GCM algorithms using custom WS-SecurityPolicy expressions. It tests
both 
+ * DOM + StAX clients against the DOM server
  */
 public class GCMTest extends AbstractBusClientServerTestBase {
     static final String PORT = allocatePort(Server.class);
@@ -87,8 +88,15 @@ public class GCMTest extends AbstractBus
         DoubleItPortType gcmPort = 
                 service.getPort(portQName, DoubleItPortType.class);
         updateAddressPort(gcmPort, PORT);
+        
+        // DOM
         gcmPort.doubleIt(25);
         
+        // Streaming
+        // TODO - See WSS-442
+        // SecurityTestUtil.enableStreaming(gcmPort);
+        // gcmPort.doubleIt(25);
+        
         ((java.io.Closeable)gcmPort).close();
         bus.shutdown(true);
     }
@@ -124,8 +132,15 @@ public class GCMTest extends AbstractBus
         DoubleItPortType gcmPort = 
                 service.getPort(portQName, DoubleItPortType.class);
         updateAddressPort(gcmPort, PORT);
+        
+        // DOM
         gcmPort.doubleIt(25);
         
+        // Streaming
+        // TODO - See WSS-442
+        // SecurityTestUtil.enableStreaming(gcmPort);
+        // gcmPort.doubleIt(25);
+        
         ((java.io.Closeable)gcmPort).close();
         bus.shutdown(true);
     }
@@ -161,10 +176,18 @@ public class GCMTest extends AbstractBus
         DoubleItPortType gcmPort = 
                 service.getPort(portQName, DoubleItPortType.class);
         updateAddressPort(gcmPort, PORT);
+        
+        // DOM
         gcmPort.doubleIt(25);
         
+        // Streaming
+        // TODO - See WSS-442
+        // SecurityTestUtil.enableStreaming(gcmPort);
+        // gcmPort.doubleIt(25);
+        
         ((java.io.Closeable)gcmPort).close();
         bus.shutdown(true);
     }
     
+    
 }



Mime
View raw message