cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1501257 - in /cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws: kerberos/ policy/ saml/ security/ ut/ wssec10/
Date Tue, 09 Jul 2013 13:41:47 GMT
Author: coheigea
Date: Tue Jul  9 13:41:47 2013
New Revision: 1501257

URL: http://svn.apache.org/r1501257
Log:
Enabling tests after WSS-458 fix

Modified:
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/StaxKerberosTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/PolicyAlternativeTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/StaxSamlTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/SecurityPolicyTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/StaxUsernameTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/StaxWSSecurity10Test.java
    cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10Test.java

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/KerberosTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -193,9 +193,9 @@ public class KerberosTokenTest extends A
         // DOM
         kerberosPort.doubleIt(25);
         
-        // TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(kerberosPort);
-        // kerberosPort.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(kerberosPort);
+        kerberosPort.doubleIt(25);
         
         ((java.io.Closeable)kerberosPort).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/StaxKerberosTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/StaxKerberosTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/StaxKerberosTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/kerberos/StaxKerberosTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -193,9 +193,9 @@ public class StaxKerberosTokenTest exten
         // DOM
         kerberosPort.doubleIt(25);
         
-        // TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(kerberosPort);
-        // kerberosPort.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(kerberosPort);
+        kerberosPort.doubleIt(25);
         
         ((java.io.Closeable)kerberosPort).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/PolicyAlternativeTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/PolicyAlternativeTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/PolicyAlternativeTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/PolicyAlternativeTest.java
Tue Jul  9 13:41:47 2013
@@ -156,9 +156,9 @@ public class PolicyAlternativeTest exten
         // DOM
         utPort.doubleIt(25);
         
-        // TODO See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(utPort);
-        // utPort.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(utPort);
+        utPort.doubleIt(25);
         
         ((java.io.Closeable)utPort).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/SamlTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -213,9 +213,9 @@ public class SamlTokenTest extends Abstr
         int result = saml1Port.doubleIt(25);
         assertTrue(result == 50);
         
-        // TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(saml1Port);
-        // saml1Port.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(saml1Port);
+        saml1Port.doubleIt(25);
         
         ((java.io.Closeable)saml1Port).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/StaxSamlTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/StaxSamlTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/StaxSamlTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/StaxSamlTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -216,9 +216,9 @@ public class StaxSamlTokenTest extends A
         int result = saml1Port.doubleIt(25);
         assertTrue(result == 50);
         
-        // TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(saml1Port);
-        // saml1Port.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(saml1Port);
+        saml1Port.doubleIt(25);
         
         ((java.io.Closeable)saml1Port).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/SecurityPolicyTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/SecurityPolicyTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/SecurityPolicyTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/SecurityPolicyTest.java
Tue Jul  9 13:41:47 2013
@@ -527,9 +527,9 @@ public class SecurityPolicyTest extends 
         // DOM
         assertEquals(10, pt.doubleIt(5));
         
-        // TODO See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(pt);
-        // assertEquals(10, pt.doubleIt(5));
+        // Streaming
+        SecurityTestUtil.enableStreaming(pt);
+        assertEquals(10, pt.doubleIt(5));
         
         ((java.io.Closeable)pt).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/StaxUsernameTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/StaxUsernameTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/StaxUsernameTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/StaxUsernameTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -137,9 +137,9 @@ public class StaxUsernameTokenTest exten
         // DOM
         utPort.doubleIt(25);
         
-        //  TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(utPort);
-        // utPort.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(utPort);
+        utPort.doubleIt(25);
         
         ((java.io.Closeable)utPort).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/ut/UsernameTokenTest.java
Tue Jul  9 13:41:47 2013
@@ -137,9 +137,9 @@ public class UsernameTokenTest extends A
         // DOM
         utPort.doubleIt(25);
         
-        // TODO - See WSS-458 Streaming
-        // SecurityTestUtil.enableStreaming(utPort);
-        // utPort.doubleIt(25);
+        // Streaming
+        SecurityTestUtil.enableStreaming(utPort);
+        utPort.doubleIt(25);
         
         ((java.io.Closeable)utPort).close();
         bus.shutdown(true);

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/StaxWSSecurity10Test.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/StaxWSSecurity10Test.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/StaxWSSecurity10Test.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/StaxWSSecurity10Test.java
Tue Jul  9 13:41:47 2013
@@ -130,7 +130,7 @@ public class StaxWSSecurity10Test extend
     public void testClientServerStreaming() {
 
         String[] argv = new String[] {
-            // TODO - See WSS-458 "UserName",
+            "UserName",
             "UserNameOverTransport",
             "MutualCertificate10SignEncrypt",
             "MutualCertificate10SignEncryptRsa15TripleDes"

Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10Test.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10Test.java?rev=1501257&r1=1501256&r2=1501257&view=diff
==============================================================================
--- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10Test.java
(original)
+++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/wssec10/WSSecurity10Test.java
Tue Jul  9 13:41:47 2013
@@ -130,7 +130,7 @@ public class WSSecurity10Test extends Ab
     public void testClientServerStreaming() {
 
         String[] argv = new String[] {
-            // TODO - See WSS-458 "UserName",
+            "UserName",
             "UserNameOverTransport",
             "MutualCertificate10SignEncrypt",
             "MutualCertificate10SignEncryptRsa15TripleDes"



Mime
View raw message