Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A7242EBAA for ; Wed, 27 Feb 2013 22:30:42 +0000 (UTC) Received: (qmail 99002 invoked by uid 500); 27 Feb 2013 22:30:42 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 98883 invoked by uid 500); 27 Feb 2013 22:30:42 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 98871 invoked by uid 99); 27 Feb 2013 22:30:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 22:30:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 22:30:41 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 338CC2388847; Wed, 27 Feb 2013 22:30:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1451005 - /cxf/branches/2.6.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Date: Wed, 27 Feb 2013 22:30:22 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130227223022.338CC2388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Wed Feb 27 22:30:21 2013 New Revision: 1451005 URL: http://svn.apache.org/r1451005 Log: 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.6.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Modified: cxf/branches/2.6.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.6.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java?rev=1451005&r1=1451004&r2=1451005&view=diff ============================================================================== --- cxf/branches/2.6.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java (original) +++ cxf/branches/2.6.x-fixes/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Wed Feb 27 22:30:21 2013 @@ -203,17 +203,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