You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "Koji Sekiguchi (JIRA)" <ji...@apache.org> on 2017/04/14 10:15:41 UTC
[jira] [Created] (OPENNLP-1020)
MockInputStreamFactory.createInputStream should create a new InputStream
Koji Sekiguchi created OPENNLP-1020:
---------------------------------------
Summary: 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
Priority: Minor
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)