Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1020

MockInputStreamFactory.createInputStream should create a new InputStream

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                koji Koji Sekiguchi
                Reporter:
                koji Koji Sekiguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: