Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 70875 invoked from network); 24 Jun 2008 09:59:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 09:59:06 -0000 Received: (qmail 1625 invoked by uid 500); 24 Jun 2008 09:59:08 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 1604 invoked by uid 500); 24 Jun 2008 09:59:08 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 1592 invoked by uid 99); 24 Jun 2008 09:59:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 02:59:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 09:58:26 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A76E234C155 for ; Tue, 24 Jun 2008 02:58:45 -0700 (PDT) Message-ID: <902577007.1214301525304.JavaMail.jira@brutus> Date: Tue, 24 Jun 2008 02:58:45 -0700 (PDT) From: "David Calavera (JIRA)" To: abdera-dev@incubator.apache.org Subject: [jira] Resolved: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests In-Reply-To: <32624603.1213904625006.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ABDERA-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Calavera resolved ABDERA-178. ----------------------------------- Resolution: Fixed > Change in return status for unimplemented functions broke some unit tests > ------------------------------------------------------------------------- > > Key: ABDERA-178 > URL: https://issues.apache.org/jira/browse/ABDERA-178 > Project: Abdera > Issue Type: Bug > Affects Versions: 0.5.0 > Reporter: Christopher Elkins > Priority: Minor > Attachments: server.patch > > > Changing the return status for unimplemented functions (in r669192) broke some unit tests that expect the former status code, such as the following: > testPostMedia(org.apache.abdera.protocol.server.test.basic.BasicTest) Time elapsed: 0.033 sec <<< FAILURE! > junit.framework.AssertionFailedError: expected:<405> but was:<415> > at junit.framework.Assert.fail(Assert.java:47) > at junit.framework.Assert.failNotEquals(Assert.java:277) > at junit.framework.Assert.assertEquals(Assert.java:64) > at junit.framework.Assert.assertEquals(Assert.java:195) > at junit.framework.Assert.assertEquals(Assert.java:201) > at org.apache.abdera.protocol.server.test.basic.BasicTest.testPostMedia(BasicTest.java:133) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.