Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-94

New NullnputStream & NullReader implementations

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3
    • Streams/Writers
    • None

    Description

      I have created a MockInputStream which can be plugged in for testing parts of systems where the data doesn't matter - the main use I've had for it was testing large files - without actually having the InputStream process large amounts of bytes.

      Attachments

        1. MockInputStreamTestCase.java
          9 kB
          Niall Pemberton
        2. MockInputStream.java
          10 kB
          Niall Pemberton

        Activity

          People

            niallp Niall Pemberton
            niallp Niall Pemberton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: