Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-520

Implement ZCompressorInputStreamTest without powermock

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.20
    • 1.21
    • None
    • None

    Description

      The ZCompressorInputStreamTest uses powermock to mock an empty enumeration. This prevents the test to be run on Java 9+.
      The same behaviour can be achieved by using Collections.emptyEnumeration and therefore the powermock dependency for the tests dropped.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rschimpf Robin Schimpf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m