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 BF726D868 for ; Fri, 21 Dec 2012 19:41:28 +0000 (UTC) Received: (qmail 99097 invoked by uid 500); 21 Dec 2012 19:41:28 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 99052 invoked by uid 500); 21 Dec 2012 19:41:28 -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 99044 invoked by uid 99); 21 Dec 2012 19:41:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2012 19:41:28 +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; Fri, 21 Dec 2012 19:41:27 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 6113F23888CD; Fri, 21 Dec 2012 19:41:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1425109 - /cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java Date: Fri, 21 Dec 2012 19:41:07 -0000 To: commits@cxf.apache.org From: owulff@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121221194107.6113F23888CD@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: owulff Date: Fri Dec 21 19:41:07 2012 New Revision: 1425109 URL: http://svn.apache.org/viewvc?rev=1425109&view=rev Log: Disabled failing test due to port issue Modified: cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java Modified: cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java URL: http://svn.apache.org/viewvc/cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java?rev=1425109&r1=1425108&r2=1425109&view=diff ============================================================================== --- cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java (original) +++ cxf/fediz/trunk/plugins/jetty/src/test/java/org/apache/cxf/fediz/jetty/BrowserTest.java Fri Dec 21 19:41:07 2012 @@ -102,6 +102,7 @@ public class BrowserTest { @org.junit.Test + @org.junit.Ignore public void testGetSecureUrl() throws Exception { String uri = "http://localhost:54566/fedizhelloworld/secure/fedservlet"; DefaultHttpClient httpclient = new DefaultHttpClient(); @@ -134,10 +135,10 @@ public class BrowserTest { HttpEntity entity = response.getEntity(); //System.out.println("----------------------------------------"); - //System.out.println(response.getStatusLine()); - //if (entity != null) { - // System.out.println("Response content length: " + entity.getContentLength()); - //} + System.out.println(response.getStatusLine()); + if (entity != null) { + System.out.println("Response content length: " + entity.getContentLength()); + } // Redirect to a POST is not supported without user interaction // http://www.ietf.org/rfc/rfc2616.txt @@ -162,10 +163,10 @@ public class BrowserTest { response = httpclient.execute(httppost); entity = response.getEntity(); //System.out.println("----------------------------------------"); - //System.out.println(response.getStatusLine()); - //if (entity != null) { - // System.out.println("Response content length: " + entity.getContentLength()); - //} + System.out.println(response.getStatusLine()); + if (entity != null) { + System.out.println("Response content length: " + entity.getContentLength()); + } String responseContent = EntityUtils.toString(entity);