cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1451016 - /cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
Date Wed, 27 Feb 2013 22:58:26 GMT
Author: coheigea
Date: Wed Feb 27 22:58:26 2013
New Revision: 1451016

URL: http://svn.apache.org/r1451016
Log:
Merged revisions 1451005 via  git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes

........
  r1451005 | coheigea | 2013-02-27 14:30:21 -0800 (Wed, 27 Feb 2013) | 18 lines

  Merged revisions 1451000 via  git cherry-pick from
  https://svn.apache.org/repos/asf/cxf/branches/2.7.x-fixes

  ........
    r1451000 | coheigea | 2013-02-27 14:18:50 -0800 (Wed, 27 Feb 2013) | 10 lines

    Merged revisions 1450975 via  git cherry-pick from
    https://svn.apache.org/repos/asf/cxf/trunk

    ........
      r1450975 | coheigea | 2013-02-27 13:32:34 -0800 (Wed, 27 Feb 2013) | 2 lines

      Fixing test with new WSS4J SNAPSHOT

    ........

  ........

........

Modified:
    cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java

Modified: cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java?rev=1451016&r1=1451015&r2=1451016&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
(original)
+++ cxf/branches/2.5.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java
Wed Feb 27 22:58:26 2013
@@ -202,17 +202,14 @@ public class WSSecurityClientTest extend
         java.io.InputStream is = null;
         String result = null;
         //
-        // Check to ensure that a well-formed request will pass
+        // Old Created Date should result in a Fault
         //
         dispatcher = createUsernameTokenDispatcher();
         is = getClass().getResourceAsStream(
             "test-data/UsernameTokenRequest.xml"
         );
         result = source2String(dispatcher.invoke(new StreamSource(is)));
-        assertTrue(result.indexOf("Bonjour") != -1);
-        //make sure the principal was set
-        assertNotNull(GreeterImpl.getUser());
-        assertEquals("alice", GreeterImpl.getUser().getName());
+        assertTrue(result.indexOf("Fault") != -1);
         
         //
         // Sending no security headers should result in a Fault



Mime
View raw message