You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mime4j-dev@james.apache.org by "Nathan Beyer (JIRA)" <mi...@james.apache.org> on 2009/06/06 18:38:07 UTC

[jira] Reopened: (MIME4J-135) [PATCH] Minor tweaks to MimeException, MimeIOException and unit tests for both

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

Nathan Beyer reopened MIME4J-135:
---------------------------------


I'm reopening. I'd like to see the exception tests added. To answer the question about the value of testing exceptions - I don't believe unit testing exceptions is testing that the JRE is doing what it says it will do, rather it's asserting that the code is using the base classes as expected. In this case, passing the cause and message as expected.

> [PATCH] Minor tweaks to MimeException, MimeIOException and unit tests for both
> ------------------------------------------------------------------------------
>
>                 Key: MIME4J-135
>                 URL: https://issues.apache.org/jira/browse/MIME4J-135
>             Project: JAMES Mime4j
>          Issue Type: Improvement
>    Affects Versions: 0.6
>            Reporter: Nathan Beyer
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: exceptions.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Attaching a patch with some minor changes to MimeException and MimeIOException and complete unit tests for both classes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.