You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Bob Paulin (JIRA)" <ji...@apache.org> on 2015/12/24 01:03:46 UTC
[jira] [Created] (TIKA-1818) Tika 2.0 - Decouple Parser Test
Documents and files from tika-parsers project
Bob Paulin created TIKA-1818:
--------------------------------
Summary: 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)