[
https://issues.apache.org/jira/browse/OPENNLP-1020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Koji Sekiguchi reassigned OPENNLP-1020:
---------------------------------------
Assignee: Koji Sekiguchi
> 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
> Reporter: Koji Sekiguchi
> Assignee: Koji Sekiguchi
> Priority: Minor
> Labels: test
>
> 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)