netty5/codec/src
Trustin Lee 0795ee6130 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:15:56 +09:00
..
main/java/io/netty/handler/codec HTTP Content Encoder allow EmptyLastHttpContent 2014-11-05 23:31:27 -05:00
test Add more test cases to ZlibTest 2014-11-19 18:15:56 +09:00