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/29 00:15:49 UTC

[jira] [Commented] (TIKA-1818) Tika 2.0 - Decouple Parser Test Documents and files from tika-parsers project

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

Bob Paulin commented on TIKA-1818:
----------------------------------

Instead of using resource stream I added a build plugin to unzip the test documents to the ${project.build.testOutputDirectory}

> 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)