[shrinkwrap-issues] [JBoss JIRA] Updated: (SHRINKWRAP-122) Test for ArchiveImportException if an error occurs during ZipImporter.importZip

Ken Gullaksen (JIRA) jira-events at lists.jboss.org
Mon Jan 25 03:39:19 EST 2010


     [ https://jira.jboss.org/jira/browse/SHRINKWRAP-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Gullaksen updated SHRINKWRAP-122:
-------------------------------------

    Attachment: SHRINKWRAP-122.patch


Attaching patch:
* Added exception handling to importZip(ZipFile)
* updated javadoc
* test covering importZip(ZipImportStream), ensuring it throws ArchiveImportException on error
* test covering importZip(ZipFile), ensuring it throws ArchiveImportException on error

> Test for ArchiveImportException if an error occurs during ZipImporter.importZip
> -------------------------------------------------------------------------------
>
>                 Key: SHRINKWRAP-122
>                 URL: https://jira.jboss.org/jira/browse/SHRINKWRAP-122
>             Project: ShrinkWrap
>          Issue Type: Task
>          Components: impl-base
>            Reporter: Andrew Lee Rubinger
>            Assignee: Andrew Lee Rubinger
>         Attachments: SHRINKWRAP-122.patch, SHRINKWRAP-122.patch, SHRINKWRAP-122.patch
>
>
> We're missing coverage to ensure that problems with importing from a ZIP result in ArchiveImportException, as stated in the ZipImporter JavaDocs

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list