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 2013/05/31 16:23:11 UTC

svn commit: r1488247 - /cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/gcm/GCMTest.java

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);
     }
     
+    
 }