You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Keith R. Bennett (JIRA)" <ji...@apache.org> on 2007/10/17 22:22:50 UTC

[jira] Closed: (TIKA-73) Method that locates test document file should be available to all test files.

     [ https://issues.apache.org/jira/browse/TIKA-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Keith R. Bennett closed TIKA-73.
--------------------------------

    Resolution: Fixed

We will use the getResourceAsStream() approach (see TIKA-74) instead.

> Method that locates test document file should be available to all test files.
> -----------------------------------------------------------------------------
>
>                 Key: TIKA-73
>                 URL: https://issues.apache.org/jira/browse/TIKA-73
>             Project: Tika
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 0.1-incubator
>            Reporter: Keith R. Bennett
>            Assignee: Keith R. Bennett
>            Priority: Minor
>             Fix For: 0.1-incubator
>
>         Attachments: tika73.patch
>
>
> We have a method that gets the location of test document files: TestParser.getTestFile().  I would like to use this method from another test file.  Rather than call a TestParser method, I suggest creating a TestUtils class for things useful to multiple tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.