[
https://issues.apache.org/jira/browse/TIKA-1855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15168075#comment-15168075
]
Nick Burch commented on TIKA-1855:
----------------------------------
I'm not actually sure we need to do the unzipping thing. I think that most of
the unit tests that need to check for {{File}} vs {{InputStream}} differences
can be / should be / are in Tika Core. If we put the test documents under the
Tika Core resources folder (and hence in the tika-core-tests jar), those can
access as either. The handful of other tests elsewhere that need files can use
the existing helpers (maybe nicer wrapped) to get there 1 or 2 files spooled
out to a temp File for File checking
We generally tell off anyone adding very large test files, and that's worked
fairly well so far, even with tika-parsers/src/test/resources/test-documents
working as our defacto "dumping ground" :)
> TIka 2.0 - Move shared test-code back to tika-core and distribute test files
> to parser modules
> ----------------------------------------------------------------------------------------------
>
> Key: TIKA-1855
> URL: https://issues.apache.org/jira/browse/TIKA-1855
> Project: Tika
> Issue Type: Sub-task
> Reporter: Tim Allison
> Assignee: Tim Allison
>
> Undo TIKA-1851, and divide test docs to appropriate parser modules.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)