abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins (JIRA)" <j...@apache.org>
Subject [jira] Created: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests
Date Thu, 19 Jun 2008 19:43:45 GMT
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


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