netty5/codec/src
Trustin Lee 3843ca55a2 Add more test cases to ZlibTest
Motivation:

Currently, we only test our ZlibEncoders against our ZlibDecoders. It is
convenient to write such tests, but it does not necessarily guarantee
their correctness. For example, both encoder and decoder might be faulty
even if the tests pass.

Modifications:

Add another test that makes sure that our GZIP encoder generates the
GZIP trailer, using the fact that GZIPInputStream raises an EOFException
when GZIP trailer is missing.

Result:

More coverage for GZIP compression
2014-11-19 18:35:26 +09:00
..
main/java/io/netty/handler/codec HTTP Content Encoder allow EmptyLastHttpContent 2014-11-05 23:23:21 -05:00
test/java/io/netty/handler/codec Add more test cases to ZlibTest 2014-11-19 18:35:26 +09:00