netty/netty — pull request #2700 by idelpivnitskiy (2014-07-23 15:00:05+00:00)
Title: Refactor integration tests of compression codecs

Motivation:

Duplicated code of integration tests for different compression codecs.

Modifications:

- Added abstract class `IntegrationTest` which contains common tests for any compression codec.
- Removed common tests from `Bzip2IntegrationTest` and `LzfIntegrationTest`.
- Implemented abstract methods of `IntegrationTest` in `Bzip2IntegrationTest`, `LzfIntegrationTest` and `SnappyIntegrationTest`.

Result:

Removed duplicated code of integration tests for compression codecs and simplified an addition of integration tests for new compression codecs.