You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2017/04/16 20:33:42 UTC

[jira] [Updated] (OPENNLP-1020) MockInputStreamFactory.createInputStream should create a new InputStream

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

Suneel Marthi updated OPENNLP-1020:
-----------------------------------
    Fix Version/s: 1.8.0

> MockInputStreamFactory.createInputStream should create a new InputStream
> ------------------------------------------------------------------------
>
>                 Key: OPENNLP-1020
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-1020
>             Project: OpenNLP
>          Issue Type: Bug
>          Components: Build, Packaging and Test
>    Affects Versions: 1.7.2
>            Reporter: Koji Sekiguchi
>            Assignee: Koji Sekiguchi
>            Priority: Minor
>              Labels: test
>             Fix For: 1.8.0
>
>
> Working on OPENNLP-1018, if I added a test for reset() of PlainTextByLineStream to the existing PlainTextByLineStreamTest, it doesn't work because it uses MockInputStreamFactory and call MockInputStreamFactory.createInputStream() in reset() but MockInputStreamFactory.createInputStream() doesn't create a new input stream but just returns input stream which it holds instead.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)