You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Christopher Elkins (JIRA)" <ji...@apache.org> on 2008/06/19 21:43:45 UTC

[jira] Created: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests

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.


[jira] Updated: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests

Posted by "Christopher Elkins (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ABDERA-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Elkins updated ABDERA-178:
--------------------------------------

    Attachment: server.patch

Updates some unit tests to handle current return status for unimplemented functions

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


[jira] Closed: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests

Posted by "David Calavera (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Resolved: (ABDERA-178) Change in return status for unimplemented functions broke some unit tests

Posted by "David Calavera (JIRA)" <ji...@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.