abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Calavera (JIRA)" <j...@apache.org>
Subject [jira] Closed: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests
Date Tue, 24 Jun 2008 09:58:45 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Calavera closed ABDERA-178.
---------------------------------


> 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.


Mime
View raw message