From deft-commits-return-353-apmail-incubator-deft-commits-archive=incubator.apache.org@incubator.apache.org Mon Feb 13 23:37:33 2012 Return-Path: X-Original-To: apmail-incubator-deft-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-deft-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14A4099DA for ; Mon, 13 Feb 2012 23:37:33 +0000 (UTC) Received: (qmail 47416 invoked by uid 500); 13 Feb 2012 23:37:33 -0000 Delivered-To: apmail-incubator-deft-commits-archive@incubator.apache.org Received: (qmail 47392 invoked by uid 500); 13 Feb 2012 23:37:32 -0000 Mailing-List: contact deft-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deft-dev@incubator.apache.org Delivered-To: mailing list deft-commits@incubator.apache.org Received: (qmail 47385 invoked by uid 99); 13 Feb 2012 23:37:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 23:37:32 +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; Mon, 13 Feb 2012 23:37:31 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 309872388900; Mon, 13 Feb 2012 23:37:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1243745 - /incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java Date: Mon, 13 Feb 2012 23:37:12 -0000 To: deft-commits@incubator.apache.org From: jmeehan@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120213233712.309872388900@eris.apache.org> Author: jmeehan Date: Mon Feb 13 23:37:11 2012 New Revision: 1243745 URL: http://svn.apache.org/viewvc?rev=1243745&view=rev Log: DEFT-198 - Unit Test Correction Modified: incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java Modified: incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java URL: http://svn.apache.org/viewvc/incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java?rev=1243745&r1=1243744&r2=1243745&view=diff ============================================================================== --- incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java (original) +++ incubator/deft/trunk/awf-core/src/test/java/org/apache/awf/web/SystemTest.java Mon Feb 13 23:37:11 2012 @@ -547,7 +547,9 @@ public class SystemTest { assertEquals("OK", response.getStatusLine().getReasonPhrase()); assertEquals(7, response.getAllHeaders().length); assertEquals("90048", response.getFirstHeader("Content-Length").getValue()); - assertEquals("image/png", response.getFirstHeader("Content-Type").getValue()); + + // TODO: Correct this type! + assertEquals("application/octet-stream", response.getFirstHeader("Content-Type").getValue()); assertNotNull(response.getFirstHeader("Last-Modified")); }