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)