[jira] [Commented] (FILEUPLOAD-232) There are no unit tests for the new utils.mime classes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (FILEUPLOAD-232) There are no unit tests for the new utils.mime classes

Walter Laan (Jira)

    [ https://issues.apache.org/jira/browse/FILEUPLOAD-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604992#comment-13604992 ]

Simone Tripodi commented on FILEUPLOAD-232:
-------------------------------------------

{{org.apache.commons.fileupload.util.mime}} classes had been _copied_ from [geronimo-javamail_1.4_spec-1.4|http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.4/], you can find available test cases on [http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-javamail_1.4_spec-1.4/src/test/java/javax/mail/internet/MimeUtilityTest.java]

The question is more if copying testcases of an already released library could be helpful - the purpose of copying them is reducing the number of dependencies, like _collections_ in _beanutils_ in the past.
               

> There are no unit tests for the new utils.mime classes
> ------------------------------------------------------
>
>                 Key: FILEUPLOAD-232
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-232
>             Project: Commons FileUpload
>          Issue Type: Bug
>            Reporter: Sebb
>
> There are no unit tests for the new utils.mime classes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira