[
https://issues.apache.org/jira/browse/TIKA-1818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15074272#comment-15074272
]
Lewis John McGibbney commented on TIKA-1818:
--------------------------------------------
hi [~bobpaulin] we've done this well over in Any23 and it would be a nice point
for guidance
https://github.com/apache/any23/tree/master/test-resources
> Tika 2.0 - Decouple Parser Test Documents and files from tika-parsers project
> -----------------------------------------------------------------------------
>
> Key: TIKA-1818
> URL: https://issues.apache.org/jira/browse/TIKA-1818
> Project: Tika
> Issue Type: Improvement
> Affects Versions: 2.0
> Reporter: Bob Paulin
> Assignee: Bob Paulin
>
> Since code and test code will be separated out from the tika-parsers project
> the test documents will also need to be separated out. Proposing creating a
> tika-parser-test project that will contain all resources used for testing so
> they can be imported in the test scope. This would also require some files
> to be assessed as inputstreams rather than files (since they'd be coming from
> inside a jar)
> Instead of files the following could be used.
> {code}
> getClass().getResourceAsStream(..)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)