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 5083DD905 for ; Wed, 27 Feb 2013 21:32:57 +0000 (UTC) Received: (qmail 97491 invoked by uid 500); 27 Feb 2013 21:32:57 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 97370 invoked by uid 500); 27 Feb 2013 21:32:57 -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 97362 invoked by uid 99); 27 Feb 2013 21:32:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 21:32:57 +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 21:32:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D1DB82388B46; Wed, 27 Feb 2013 21:32:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1450975 - /cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Date: Wed, 27 Feb 2013 21:32:34 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130227213234.D1DB82388B46@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Wed Feb 27 21:32:34 2013 New Revision: 1450975 URL: http://svn.apache.org/r1450975 Log: Fixing test with new WSS4J SNAPSHOT Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Modified: cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java?rev=1450975&r1=1450974&r2=1450975&view=diff ============================================================================== --- cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java (original) +++ cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/security/WSSecurityClientTest.java Wed Feb 27 21:32:34 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