james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Reopened: (MIME4J-135) [PATCH] Minor tweaks to MimeException, MimeIOException and unit tests for both
Date Sat, 06 Jun 2009 16:38:07 GMT

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


Mime
View raw message